Enum StatsLevel
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
How much RocksDb collects when statistics are enabled, mapped from
rocksdb::StatsLevel in statistics.h.
public enum StatsLevel
Fields
All = 5Collect everything, including mutex timing.
DisableAll = 0Collect nothing. Also spelled
kExceptTickersnatively, which is the same value.ExceptDetailedTimers = 3Collect everything except the detailed timers.
ExceptHistogramOrTimers = 1Collect counters but no histograms or timers.
ExceptTimeForMutex = 4Collect everything except time spent on mutexes.
ExceptTimers = 2Collect counters and histograms but no timers.
Remarks
Higher levels cost more. The timing levels in particular add measurable overhead to every operation, so they are for investigation rather than steady state.