userver: component
Loading...
Searching...
No Matches
component
Name Description Default value
fs-task-processor Name of the task processor to handle the blocking file operations. engine::current_task::GetBlockingTaskProcessor()
db-path Path to the database file or ::memory:: for in-memory mode.
create_file Create the database file if it does not exist at the specified path. true
is_read_only Open the database in read-only mode. false
shared_cache Enable shared in-memory cache for the database. false
read_uncommitted Allow reading uncommitted data (requires shared_cache). false
journal_mode Mode for database journaling. Possible values: delete, truncate, persist, memory, wal, False. wal
busy_timeout Timeout duration (in milliseconds) to wait when the database is busy. 5000
foreign_keys Enable enforcement of foreign key constraints. true
synchronous Set the level of synchronization to ensure data durability. Possible values: extra, full, normal, False. normal
cache_size Maximum cache size, specified in number of pages or in kibibytes (negative value). -2000
journal_size_limit Limit the size of rollback-journal and WAL files (in bytes). 67108864
mmap_size Maximum number of bytes allocated for memory-mapped I/O. 30000000000
page_size Size of a database page (in bytes). 4096
temp_store Storage location for temporary tables and indexes. Possible values: memory, file. memory
persistent-prepared-statements Cache prepared statements for reuse. true
max_prepared_cache_size Maximum number of prepared statements to cache. 200
initial_read_only_pool_size Initial size of the read-only connection pool. 5
max_read_only_pool_size Maximum size of the read-only connection pool. 10