Enum PrepopulateBlockCache
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Whether newly written blocks are inserted into the block cache before anyone reads them.
public enum PrepopulateBlockCache
Fields
Disable = 0Do not prepopulate.
FlushAndCompaction = 2Prepopulate blocks written by both flush and compaction. Flush-warmed blocks enter at low priority and compaction-warmed blocks at bottom priority.
FlushOnly = 1Prepopulate blocks written by a flush.
Remarks
Mirrored from BlockBasedTableOptions::PrepopulateBlockCache in
include/rocksdb/table.h because the C API declares this parameter as a
plain int.