Enum WriteBufferFlushPolicy
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Which memtable a WriteBufferManager flushes when its budget is exceeded.
public enum WriteBufferFlushPolicy
Fields
Largest = 1Flush the largest mutable memtable in the database that hit the limit.
LargestAcrossDbs = 2Flush the database that would free the most memory, among every database sharing this manager.
Oldest = 0Flush the oldest mutable memtable. RocksDb's historical behaviour, and the default.
Remarks
The values are the rocksdb_write_buffer_manager_flush_policy_*
constants in c.h, which the C API translates to
WriteBufferFlushPolicy in include/rocksdb/write_buffer_manager.h.