pub struct Options {
pub rocksdb_options: RocksDBOptions,
pub sorted_list_compact_deletes_count: u32,
pub delete_meta_when_empty: bool,
}
Expand description
Options for open a database.
Fields§
§rocksdb_options: RocksDBOptions
RocksDB options.
sorted_list_compact_deletes_count: u32
For sorted list
data type, run RocksDB compact
operation when every specific deletes count.
This is a performance optimization strategy.
delete_meta_when_empty: bool
Auto delete the key meta when items count is 0, the key ID will be different for the next time when reuse the same key.