Enum BottommostLevelCompaction
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
How a manual compaction should treat the bottommost level, mapped from
rocksdb::BottommostLevelCompaction in options.h.
public enum BottommostLevelCompaction
Fields
Force = 2Always compact the bottommost level.
ForceOptimized = 3Always compact the bottommost level, but avoid compacting a file twice within the same compaction.
IfHaveCompactionFilter = 1Compact the bottommost level only when a compaction filter is set. This is RocksDb's default. Like ForceOptimized, it avoids compacting a file twice within one manual compaction.
Skip = 0Never compact the bottommost level.
Remarks
The values are positional in the native header.