Name | Effect | Values |
async = ( | asynchronous operations configuration options. | a set of related configuration options defined below. |
enabled | enable asynchronous operation. | a boolean flag; default false . |
ops_max | maximum number of expected simultaneous asynchronous operations. | an integer between 1 and 4096; default 1024 . |
threads | the number of worker threads to service asynchronous requests. Each worker thread uses a session from the configured session_max. | an integer between 1 and 20; default 2 . |
) | | |
cache_overhead | assume the heap allocator overhead is the specified percentage, and adjust the cache usage by that amount (for example, if there is 10GB of data in cache, a percentage of 10 means WiredTiger treats this as 11GB). This value is configurable because different heap allocators have different overhead and different workloads will have different heap allocation sizes and patterns, therefore applications may need to adjust this value based on allocator choice and behavior in measured workloads. | an integer between 0 and 30; default 8 . |
cache_size | maximum heap memory to allocate for the cache. A database should configure either cache_size or shared_cache but not both. | an integer between 1MB and 10TB; default 100MB . |
checkpoint = ( | periodically checkpoint the database. Enabling the checkpoint server uses a session from the configured session_max. | a set of related configuration options defined below. |
log_size | wait for this amount of log record bytes to be written to the log between each checkpoint. A database can configure both log_size and wait to set an upper bound for checkpoints; setting this value above 0 configures periodic checkpoints. | an integer between 0 and 2GB; default 0 . |
name | the checkpoint name. | a string; default "WiredTigerCheckpoint" . |
wait | seconds to wait between each checkpoint; setting this value above 0 configures periodic checkpoints. | an integer between 0 and 100000; default 0 . |
) | | |
error_prefix | prefix string for error messages. | a string; default empty. |
eviction = ( | eviction configuration options. | a set of related configuration options defined below. |
threads_max | maximum number of threads WiredTiger will start to help evict pages from cache. The number of threads started will vary depending on the current eviction load. Each eviction worker thread uses a session from the configured session_max. | an integer between 1 and 20; default 1 . |
threads_min | minimum number of threads WiredTiger will start to help evict pages from cache. The number of threads currently running will vary depending on the current eviction load. | an integer between 1 and 20; default 1 . |
) | | |
eviction_dirty_target | continue evicting until the cache has less dirty memory than the value, as a percentage of the total cache size. Dirty pages will only be evicted if the cache is full enough to trigger eviction. | an integer between 10 and 99; default 80 . |
eviction_target | continue evicting until the cache has less total memory than the value, as a percentage of the total cache size. Must be less than eviction_trigger . | an integer between 10 and 99; default 80 . |
eviction_trigger | trigger eviction when the cache is using this much memory, as a percentage of the total cache size. | an integer between 10 and 99; default 95 . |
file_manager = ( | control how file handles are managed. | a set of related configuration options defined below. |
close_handle_minimum | number of handles open before the file manager will look for handles to close. | an integer greater than or equal to 0; default 250 . |
close_idle_time | amount of time in seconds a file handle needs to be idle before attempting to close it. | an integer between 1 and 100000; default 30 . |
close_scan_interval | interval in seconds at which to check for files that are inactive and close them. | an integer between 1 and 100000; default 10 . |
) | | |
lsm_manager = ( | configure database wide options for LSM tree management. The LSM manager is started automatically the first time an LSM tree is opened. The LSM manager uses a session from the configured session_max. | a set of related configuration options defined below. |
merge | merge LSM chunks where possible. | a boolean flag; default true . |
worker_thread_max | Configure a set of threads to manage merging LSM trees in the database. Each worker thread uses a session handle from the configured session_max. | an integer between 3 and 20; default 4 . |
) | | |
shared_cache = ( | shared cache configuration options. A database should configure either a cache_size or a shared_cache not both. Enabling a shared cache uses a session from the configured session_max. | a set of related configuration options defined below. |
chunk | the granularity that a shared cache is redistributed. | an integer between 1MB and 10TB; default 10MB . |
name | the name of a cache that is shared between databases or "none" when no shared cache is configured. | a string; default none . |
reserve | amount of cache this database is guaranteed to have available from the shared cache. This setting is per database. Defaults to the chunk size. | an integer; default 0 . |
size | maximum memory to allocate for the shared cache. Setting this will update the value if one is already set. | an integer between 1MB and 10TB; default 500MB . |
) | | |
statistics | Maintain database statistics, which may impact performance. Choosing "all" maintains all statistics regardless of cost, "fast" maintains a subset of statistics that are relatively inexpensive, "none" turns off all statistics. The "clear" configuration resets statistics after they are gathered, where appropriate (for example, a cache size statistic is not cleared, while the count of cursor insert operations will be cleared). When "clear" is configured for the database, gathered statistics are reset each time a statistics cursor is used to gather statistics, as well as each time statistics are logged using the statistics_log configuration. See Statistics for more information. | a list, with values chosen from the following options: "all" , "fast" , "none" , "clear" ; default none . |
statistics_log = ( | log any statistics the database is configured to maintain, to a file. See Statistics for more information. Enabling the statistics log server uses a session from the configured session_max. | a set of related configuration options defined below. |
on_close | log statistics on database close. | a boolean flag; default false . |
path | the pathname to a file into which the log records are written, may contain ISO C standard strftime conversion specifications. If the value is not an absolute path name, the file is created relative to the database home. | a string; default "WiredTigerStat.%d.%H" . |
sources | if non-empty, include statistics for the list of data source URIs, if they are open at the time of the statistics logging. The list may include URIs matching a single data source ("table:mytable"), or a URI matching all data sources of a particular type ("table:"). | a list of strings; default empty. |
timestamp | a timestamp prepended to each log record, may contain strftime conversion specifications. | a string; default "%b %d %H:%M:%S" . |
wait | seconds to wait between each write of the log records; setting this value above 0 configures statistics logging. | an integer between 0 and 100000; default 0 . |
) | | |
verbose | enable messages for various events. Only available if WiredTiger is configured with –enable-verbose. Options are given as a list, such as "verbose=[evictserver,read]" . | a list, with values chosen from the following options: "api" , "block" , "checkpoint" , "compact" , "evict" , "evictserver" , "fileops" , "log" , "lsm" , "metadata" , "mutex" , "overflow" , "read" , "reconcile" , "recovery" , "salvage" , "shared_cache" , "split" , "temporary" , "transaction" , "verify" , "version" , "write" ; default empty. |