Name | Effect | Values |
allocation_size | the file unit allocation size, in bytes, must a power-of-two; smaller values decrease the file space required by overflow items, and the default value of 512B is a good choice absent requirements from the operating system or storage device. | an integer between 512B and 128MB; default 512B . |
block_compressor | configure a compressor for file blocks. Permitted values are empty (off) or "bzip2" , "snappy" or custom compression engine "name" created with WT_CONNECTION::add_compressor. See Compressors for more information. | a string; default empty. |
cache_resident | do not ever evict the object's pages; see Cache resident objects for more information. | a boolean flag; default false . |
checksum | configure file block checksums; if false, the block manager is free to not write or check block checksums. This can increase performance in applications where compression provides checksum functionality or read-only applications where blocks require no verification. | a boolean flag; default true . |
colgroups | comma-separated list of names of column groups. Each column group is stored separately, keyed by the primary key of the table. If no column groups are specified, all columns are stored together in a single file. All value columns in the table must appear in at least one column group. Each column group must be created with a separate call to WT_SESSION::create. | a list of strings; default empty. |
collator | configure custom collation for keys. Value must be a collator name created with WT_CONNECTION::add_collator. | a string; default empty. |
columns | list of the column names. Comma-separated list of the form (column[,...]) . For tables, the number of entries must match the total number of values in key_format and value_format . For colgroups and indices, all column names must appear in the list of columns for the table. | a list of strings; default empty. |
dictionary | the number of entries maintained in the Btree row-store leaf page value dictionary; see File formats and compression for more information. | an integer greater than or equal to 0; default 0 . |
exclusive | fail if the object exists. When false (the default), if the object exists, check that its settings match the specified configuration. | a boolean flag; default false . |
filename | override the default filename derived from the object name. | a string; default empty. |
huffman_key | configure Huffman encoding for keys. Permitted values are empty (off), "english" , "utf8<file>" or "utf16<file>" . See Huffman Encoding for more information. | a string; default empty. |
huffman_value | configure Huffman encoding for values. Permitted values are empty (off), "english" , "utf8<file>" or "utf16<file>" . See Huffman Encoding for more information. | a string; default empty. |
internal_item_max | the maximum key size stored on internal nodes, in bytes. If zero, a maximum is calculated to permit at least 8 keys per internal page. | an integer greater than or equal to 0; default 0 . |
internal_key_truncate | configure internal key truncation, discarding unnecessary trailing bytes on internal keys (ignored for custom collators). | a boolean flag; default true . |
internal_page_max | the maximum page size for internal nodes, in bytes; the size must be a multiple of the allocation size and is significant for applications wanting to avoid excessive L2 cache misses while searching the tree. | an integer between 512B and 512MB; default 2KB . |
key_format | the format of the data packed into key items. See Format types for details. By default, the key_format is 'u' and applications use WT_ITEM structures to manipulate raw byte arrays. By default, records are stored in row-store files: keys of type 'r' are record numbers and records referenced by record number are stored in column-store files. | a format string; default u . |
key_gap | the maximum gap between instantiated keys in a Btree leaf page, constraining the number of keys processed to instantiate a random Btree leaf page key. | an integer greater than or equal to 0; default 10 . |
leaf_item_max | the maximum key or value size stored on leaf nodes, in bytes. If zero, a size is calculated to permit at least 8 items (values or row store keys) per leaf page. | an integer greater than or equal to 0; default 0 . |
leaf_page_max | the maximum page size for leaf nodes, in bytes; the size must be a multiple of the allocation size, and is significant for applications wanting to maximize sequential data transfer from a storage device. | an integer between 512B and 512MB; default 1MB . |
lsm_bloom_bit_count | the number of bits used per item for LSM bloom filters.. | an integer between 2 and 1000; default 8 . |
lsm_bloom_hash_count | the number of hash values per item used for LSM bloom filters.. | an integer between 2 and 100; default 4 . |
lsm_chunk_size | the maximum size of the in-memory chunk of an LSM tree. | an integer between 512K and 500MB; default 2MB . |
prefix_compression | configure row-store format key prefix compression. | a boolean flag; default true . |
split_pct | the Btree page split size as a percentage of the maximum Btree page size, that is, when a Btree page is split, it will be split into smaller pages, where each page is the specified percentage of the maximum Btree page size. | an integer between 25 and 100; default 75 . |
type | the file type. | a string, chosen from the following options: "btree" ; default btree . |
value_format | the format of the data packed into value items. See Format types for details. By default, the value_format is 'u' and applications use a WT_ITEM structure to manipulate raw byte arrays. Value items of type 't' are bitfields, and when configured with record number type keys, will be stored using a fixed-length store. | a format string; default u . |