Table of Contents

Enum ReadTier

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

Which tiers of storage a read is allowed to reach into.

public enum ReadTier

Fields

All = 0

Memtable, block cache, operating system cache or storage. The default, and the only tier that always answers.

BlockCache = 1

Memtable or block cache only, so the read never touches storage.

Memtable = 3

Memtable only, for memtable-only iterators.

Persisted = 2

Persisted 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.