Announce the experimetnal two-level index feature in HISTORY.md

Summary:
Announce the experimetnal two-level index feature in HISTORY.md. Also updated the default for index_per_partition to 1024.
Closes https://github.com/facebook/rocksdb/pull/1855

Differential Revision: D4530102

Pulled By: maysamyabandeh

fbshipit-source-id: b0fc6ff
This commit is contained in:
Maysam Yabandeh 2017-02-08 14:10:55 -08:00 committed by Facebook Github Bot
parent c4a37dcb44
commit ac2a77a746
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
* NewLRUCache() will determine number of shard bits automatically based on capacity, if the user doesn't pass one. This also impacts the default block cache when the user doesn't explict provide one.
* Change the default of delayed slowdown value to 16MB/s and further increase the L0 stop condition to 36 files.
* Added new function GetApproximateMemTableStats that approximates both number of records and size of memtables.
* (Experimental) Two-level indexing that partition the index and creates a 2nd level index on the partitions. The feature can be enabled by setting kTwoLevelIndexSearch as IndexType and configuring index_per_partition.
### Bug Fixes
* Fix the bug that if 2PC is enabled, checkpoints may loss some recent transactions.

View File

@ -146,7 +146,7 @@ struct BlockBasedTableOptions {
// Number of index keys per partition of indexes in a multi-level index
// i.e., the number of data blocks covered by each index partition
uint64_t index_per_partition = 2;
uint64_t index_per_partition = 1024;
// Use delta encoding to compress keys in blocks.
// ReadOptions::pin_data requires this option to be disabled.