Table of Contents

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 = 2

Always compact the bottommost level.

ForceOptimized = 3

Always compact the bottommost level, but avoid compacting a file twice within the same compaction.

IfHaveCompactionFilter = 1

Compact 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 = 0

Never compact the bottommost level.

Remarks

The values are positional in the native header.