summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/dist/api_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/dist/api_data.py')
-rw-r--r--src/third_party/wiredtiger/dist/api_data.py50
1 files changed, 32 insertions, 18 deletions
diff --git a/src/third_party/wiredtiger/dist/api_data.py b/src/third_party/wiredtiger/dist/api_data.py
index db1bc85add4..fd63bc059b5 100644
--- a/src/third_party/wiredtiger/dist/api_data.py
+++ b/src/third_party/wiredtiger/dist/api_data.py
@@ -236,6 +236,14 @@ file_config = format_meta + [
Config('leaf_item_max', '0', r'''
historic term for leaf_key_max and leaf_value_max''',
min=0, undoc=True),
+ Config('log', '', r'''
+ the transaction log configuration for this object. Only valid if
+ log is enabled in ::wiredtiger_open.''',
+ type='category', subconfig=[
+ Config('enabled', 'true', r'''
+ if false, this object has checkpoint-level durability.''',
+ type='boolean'),
+ ]),
Config('memory_page_max', '5MB', r'''
the maximum size a page can grow to in memory before being
reconciled to disk. The specified size will be adjusted to a lower
@@ -372,7 +380,12 @@ connection_runtime_config = [
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''',
- min=10, max=99),
+ min=5, max=99),
+ Config('eviction_dirty_trigger', '95', r'''
+ trigger eviction when the cache is using this much memory for dirty
+ content, as a percentage of the total cache size. This setting only
+ alters behavior if it is lower than eviction_trigger''',
+ min=5, max=99),
Config('eviction_target', '80', r'''
continue evicting until the cache has less total memory than the
value, as a percentage of the total cache size. Must be less than
@@ -503,6 +516,7 @@ connection_runtime_config = [
'fileops',
'log',
'lsm',
+ 'lsm_manager',
'metadata',
'mutex',
'overflow',
@@ -568,7 +582,7 @@ common_wiredtiger_open = [
Config('secretkey', '', r'''
A string that is passed to the WT_ENCRYPTOR::customize function.
It is never stored in clear text, so must be given to any
- subsequent wiredtiger_open calls to reopen the database.
+ subsequent ::wiredtiger_open calls to reopen the database.
It must also be provided to any "wt" commands used with
this database.'''),
]),
@@ -760,22 +774,22 @@ methods = {
type='boolean', undoc=True),
Config('statistics', '', r'''
Specify the statistics to be gathered. Choosing "all" gathers
- statistics regardless of cost and may include traversing
- on-disk files; "fast" gathers a subset of relatively
- inexpensive statistics. The selection must agree with the
- database \c statistics configuration specified to
- ::wiredtiger_open or WT_CONNECTION::reconfigure. For example,
- "all" or "fast" can be configured when the database is
- configured with "all", but the cursor open will fail if "all"
- is specified when the database is configured with "fast",
- and the cursor open will fail in all cases when the database
- is configured with "none". If \c statistics is not configured,
- the default configuration is the database configuration.
- The "clear" configuration resets statistics after gathering
- them, where appropriate (for example, a cache size statistic
- is not cleared, while the count of cursor insert operations
- will be cleared). See @ref statistics for more information''',
- type='list', choices=['all', 'fast', 'clear']),
+ statistics regardless of cost and may include traversing on-disk files;
+ "fast" gathers a subset of relatively inexpensive statistics. The
+ selection must agree with the database \c statistics configuration
+ specified to ::wiredtiger_open or WT_CONNECTION::reconfigure. For
+ example, "all" or "fast" can be configured when the database is
+ configured with "all", but the cursor open will fail if "all" is
+ specified when the database is configured with "fast", and the cursor
+ open will fail in all cases when the database is configured with
+ "none". If "size" is configured, only the underlying size of the
+ object on disk is filled in and the object is not opened. If \c
+ statistics is not configured, the default configuration is the database
+ configuration. The "clear" configuration resets statistics after
+ gathering them, where appropriate (for example, a cache size statistic
+ is not cleared, while the count of cursor insert operations will be
+ cleared). See @ref statistics for more information''',
+ type='list', choices=['all', 'fast', 'clear', 'size']),
Config('target', '', r'''
if non-empty, backup the list of objects; valid only for a
backup data source''',