Enum ReadTier
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Which tiers of storage a read is allowed to reach into.
public enum ReadTier
Fields
All = 0Memtable, block cache, operating system cache or storage. The default, and the only tier that always answers.
BlockCache = 1Memtable or block cache only, so the read never touches storage.
Memtable = 3Memtable only, for memtable-only iterators.
Persisted = 2Persisted data only. With the write-ahead log disabled this also skips the memtable. RocksDb supports this for point lookups only, not iterators.
Remarks
Mirrored from include/rocksdb/options.h because the C API declares
this parameter as a plain int.