diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-03-08 14:56:52 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-03-08 14:56:52 -0500 |
commit | 8ae71b3fc82e22ee8733f173291908147256ebb7 (patch) | |
tree | 6d76f47ab5efbd7451b58de3c3149fa67275cce0 /src/config | |
parent | 9eb0492427d66bf4f464ef10b568ce27a4cf33a0 (diff) | |
download | mongo-8ae71b3fc82e22ee8733f173291908147256ebb7.tar.gz |
Remove internal node key-suffix compression from the new-split branch.
In short, the new eviction code breaks internal key suffix compression
by pushing suffix compressed keys up the tree. (Suffix compression only
works at the level immediately above the leaf pages, you lose too much
information if you do suffix compression above that level, and we're
breaking that by evicting pages with suffix compressed keys, and merging
those keys into their parent pages.
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config_def.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/src/config/config_def.c b/src/config/config_def.c index 3d60cd65838..7ff98ea84a8 100644 --- a/src/config/config_def.c +++ b/src/config/config_def.c @@ -73,7 +73,6 @@ static const WT_CONFIG_CHECK confchk_file_meta[] = { { "huffman_value", "string", NULL, NULL}, { "id", "string", NULL, NULL}, { "internal_item_max", "int", "min=0", NULL}, - { "internal_key_truncate", "boolean", NULL, NULL}, { "internal_page_max", "int", "min=512B,max=512MB", NULL}, { "key_format", "format", NULL, NULL}, { "key_gap", "int", "min=0", NULL}, @@ -156,7 +155,6 @@ static const WT_CONFIG_CHECK confchk_session_create[] = { { "huffman_key", "string", NULL, NULL}, { "huffman_value", "string", NULL, NULL}, { "internal_item_max", "int", "min=0", NULL}, - { "internal_key_truncate", "boolean", NULL, NULL}, { "internal_page_max", "int", "min=512B,max=512MB", NULL}, { "key_format", "format", NULL, NULL}, { "key_gap", "int", "min=0", NULL}, @@ -339,11 +337,11 @@ static const WT_CONFIG_ENTRY config_entries[] = { "cache_resident=0,checkpoint=,checkpoint_lsn=," "checksum=uncompressed,collator=,columns=,dictionary=0," "format=btree,huffman_key=,huffman_value=,id=,internal_item_max=0" - ",internal_key_truncate=,internal_page_max=4KB,key_format=u," - "key_gap=10,leaf_item_max=0,leaf_page_max=1MB,memory_page_max=5MB" - ",os_cache_dirty_max=0,os_cache_max=0,prefix_compression=," - "prefix_compression_min=4,split_deepen=250,split_pct=75," - "value_format=u,version=(major=0,minor=0)", + ",internal_page_max=4KB,key_format=u,key_gap=10,leaf_item_max=0," + "leaf_page_max=1MB,memory_page_max=5MB,os_cache_dirty_max=0," + "os_cache_max=0,prefix_compression=,prefix_compression_min=4," + "split_deepen=250,split_pct=75,value_format=u,version=(major=0," + "minor=0)", confchk_file_meta }, { "index.meta", @@ -374,14 +372,14 @@ static const WT_CONFIG_ENTRY config_entries[] = { "allocation_size=4KB,block_allocation=best,block_compressor=," "cache_resident=0,checksum=uncompressed,colgroups=,collator=," "columns=,dictionary=0,exclusive=0,format=btree,huffman_key=," - "huffman_value=,internal_item_max=0,internal_key_truncate=," - "internal_page_max=4KB,key_format=u,key_gap=10,leaf_item_max=0," - "leaf_page_max=1MB,lsm=(auto_throttle=,bloom=,bloom_bit_count=16," - "bloom_config=,bloom_hash_count=8,bloom_oldest=0,chunk_max=5GB," - "chunk_size=10MB,merge_max=15,merge_min=0,merge_threads=2)," - "memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0," - "prefix_compression=,prefix_compression_min=4,source=," - "split_deepen=250,split_pct=75,type=file,value_format=u", + "huffman_value=,internal_item_max=0,internal_page_max=4KB," + "key_format=u,key_gap=10,leaf_item_max=0,leaf_page_max=1MB," + "lsm=(auto_throttle=,bloom=,bloom_bit_count=16,bloom_config=," + "bloom_hash_count=8,bloom_oldest=0,chunk_max=5GB,chunk_size=10MB," + "merge_max=15,merge_min=0,merge_threads=2),memory_page_max=5MB," + "os_cache_dirty_max=0,os_cache_max=0,prefix_compression=," + "prefix_compression_min=4,source=,split_deepen=250,split_pct=75," + "type=file,value_format=u", confchk_session_create }, { "session.drop", |