Enum rocksdb::DataBlockIndexType
source · #[repr(C)]
pub enum DataBlockIndexType {
BinarySearch,
BinaryAndHash,
}
Expand description
Used by BlockBasedOptions::set_data_block_index_type.
Variants§
BinarySearch
Use binary search when performing point lookup for keys in data blocks. This is the default.
BinaryAndHash
Appends a compact hash table to the end of the data block for efficient indexing. Backwards compatible with databases created without this feature. Once turned on, existing data will be gradually converted to the hash index format.