Table of Contents

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

Collect everything, including mutex timing.

DisableAll = 0

Collect nothing. Also spelled kExceptTickers natively, which is the same value.

ExceptDetailedTimers = 3

Collect everything except the detailed timers.

ExceptHistogramOrTimers = 1

Collect counters but no histograms or timers.

ExceptTimeForMutex = 4

Collect everything except time spent on mutexes.

ExceptTimers = 2

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