Table of Contents

Enum Ticker

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

A counter collected by the statistics subsystem.

public enum Ticker

Fields

AsyncReadErrorCount = 219

Number of errors returned to the async read callback

RocksDb calls this ASYNC_READ_ERROR_COUNT.

AtomicFlushRequestReasonMemtableMaxRangeDeletions = 258

Number of atomic flush requests triggered because a memtable reached memtable_max_range_deletions.

RocksDb calls this ATOMIC_FLUSH_REQUEST_REASON_MEMTABLE_MAX_RANGE_DELETIONS.

AtomicFlushRequestReasonOther = 259

Number of atomic flush requests triggered for reasons that do not have a dedicated atomic flush request reason ticker.

RocksDb calls this ATOMIC_FLUSH_REQUEST_REASON_OTHER.

AtomicFlushRequestReasonWriteBufferFull = 256

Number of atomic flush requests triggered because a memtable reached write_buffer_size.

RocksDb calls this ATOMIC_FLUSH_REQUEST_REASON_WRITE_BUFFER_FULL.

AtomicFlushRequestReasonWriteBufferManager = 257

Number of atomic flush requests triggered by WriteBufferManager memory pressure.

RocksDb calls this ATOMIC_FLUSH_REQUEST_REASON_WRITE_BUFFER_MANAGER.

BackupReadBytes = 186

Bytes read/written while creating backups

RocksDb calls this BACKUP_READ_BYTES.

BackupWriteBytes = 187

RocksDb's BACKUP_WRITE_BYTES.

BlobDbBlobFileBytesRead = 149

of bytes read from blob file.

RocksDb calls this BLOB_DB_BLOB_FILE_BYTES_READ.

BlobDbBlobFileBytesWritten = 148

of bytes written to blob file.

RocksDb calls this BLOB_DB_BLOB_FILE_BYTES_WRITTEN.

BlobDbBlobFileSynced = 150

of times a blob files being synced.

RocksDb calls this BLOB_DB_BLOB_FILE_SYNCED.

BlobDbBlobIndexEvictedCount = 153

of blob index evicted from base DB by BlobDB compaction filter because of corresponding file deleted. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_BLOB_INDEX_EVICTED_COUNT.

BlobDbBlobIndexEvictedSize = 154

size of blob index evicted from base DB by BlobDB compaction filter because of corresponding file deleted. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_BLOB_INDEX_EVICTED_SIZE.

BlobDbBlobIndexExpiredCount = 151

of blob index evicted from base DB by BlobDB compaction filter because of expiration. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_BLOB_INDEX_EXPIRED_COUNT.

BlobDbBlobIndexExpiredSize = 152

size of blob index evicted from base DB by BlobDB compaction filter because of expiration. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_BLOB_INDEX_EXPIRED_SIZE.

BlobDbBytesRead = 143

of bytes (keys + value) read from BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_BYTES_READ.

BlobDbBytesWritten = 142

of bytes (key + value) written to BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_BYTES_WRITTEN.

BlobDbCacheAdd = 165

of data blocks added to blob cache.

RocksDb calls this BLOB_DB_CACHE_ADD.

BlobDbCacheAddFailures = 166

of failures when adding blobs to blob cache.

RocksDb calls this BLOB_DB_CACHE_ADD_FAILURES.

BlobDbCacheBytesRead = 167

of bytes read from blob cache.

RocksDb calls this BLOB_DB_CACHE_BYTES_READ.

BlobDbCacheBytesWrite = 168

of bytes written into blob cache.

RocksDb calls this BLOB_DB_CACHE_BYTES_WRITE.

BlobDbCacheHit = 164

of times cache hit when accessing blob from blob cache.

RocksDb calls this BLOB_DB_CACHE_HIT.

BlobDbCacheMiss = 163

Integrated BlobDB specific stats # of times cache miss when accessing blob from blob cache.

RocksDb calls this BLOB_DB_CACHE_MISS.

BlobDbFifoBytesEvicted = 162

of bytes in the blob files evicted because of BlobDB is full. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_FIFO_BYTES_EVICTED.

BlobDbFifoNumFilesEvicted = 160

of blob files evicted because of BlobDB is full. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_FIFO_NUM_FILES_EVICTED.

BlobDbFifoNumKeysEvicted = 161

of keys in the blob files evicted because of BlobDB is full. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_FIFO_NUM_KEYS_EVICTED.

BlobDbGcBytesRelocated = 159

of bytes relocated to new blob file by garbage collection.

RocksDb calls this BLOB_DB_GC_BYTES_RELOCATED.

BlobDbGcFailures = 157

of BlobDB garbage collection failures. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_GC_FAILURES.

BlobDbGcNumFiles = 155

of blob files that were obsoleted by garbage collection. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_GC_NUM_FILES.

BlobDbGcNumKeysRelocated = 158

of keys relocated to new blob file by garbage collection.

RocksDb calls this BLOB_DB_GC_NUM_KEYS_RELOCATED.

BlobDbGcNumNewFiles = 156

of blob files generated by garbage collection. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_GC_NUM_NEW_FILES.

BlobDbNumGet = 135

of Get to BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_GET.

BlobDbNumKeysRead = 141

of keys read from BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_KEYS_READ.

BlobDbNumKeysWritten = 140

of keys written to BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_KEYS_WRITTEN.

BlobDbNumMultiget = 136

of MultiGet to BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_MULTIGET.

BlobDbNumNext = 138

of Next to BlobDB iterator. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_NEXT.

BlobDbNumPrev = 139

of Prev to BlobDB iterator. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_PREV.

BlobDbNumPut = 133

BlobDB specific stats # of Put/PutWithTTL to BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_PUT.

BlobDbNumSeek = 137

of Seek/SeekToFirst/SeekToLast/SeekForPrev to BlobDB iterator. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_SEEK.

BlobDbNumWrite = 134

of Write to BlobDB. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_NUM_WRITE.

BlobDbWriteBlob = 146

of keys written by BlobDB as non-TTL blob value. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_WRITE_BLOB.

BlobDbWriteBlobTtl = 147

of keys written by BlobDB as TTL blob value. Only applicable to legacy BlobDB.

RocksDb calls this BLOB_DB_WRITE_BLOB_TTL.

BlobDbWriteInlinedDeprecated = 144

Deprecated: min_blob_size is no longer configurable. Retained to avoid shifting enum values.

RocksDb calls this BLOB_DB_WRITE_INLINED_DEPRECATED.

BlobDbWriteInlinedTtlDeprecated = 145

Deprecated: min_blob_size is no longer configurable. Retained to avoid shifting enum values.

RocksDb calls this BLOB_DB_WRITE_INLINED_TTL_DEPRECATED.

BlockCacheAdd = 2

of blocks added to block cache.

RocksDb calls this BLOCK_CACHE_ADD.

BlockCacheAddFailures = 3

of failures when adding blocks to block cache.

RocksDb calls this BLOCK_CACHE_ADD_FAILURES.

BlockCacheAddRedundant = 22

of blocks redundantly inserted into block cache. REQUIRES: BLOCK_CACHE_ADD_REDUNDANT <= BLOCK_CACHE_ADD

RocksDb calls this BLOCK_CACHE_ADD_REDUNDANT.

BlockCacheBytesRead = 16

of bytes read from cache.

RocksDb calls this BLOCK_CACHE_BYTES_READ.

BlockCacheBytesWrite = 17

of bytes written into cache.

RocksDb calls this BLOCK_CACHE_BYTES_WRITE.

BlockCacheCompressionDictAdd = 20

RocksDb's BLOCK_CACHE_COMPRESSION_DICT_ADD.

BlockCacheCompressionDictAddRedundant = 26

of dict blocks redundantly inserted into block cache. REQUIRES: BLOCK_CACHE_COMPRESSION_DICT_ADD_REDUNDANT <= BLOCK_CACHE_COMPRESSION_DICT_ADD

RocksDb calls this BLOCK_CACHE_COMPRESSION_DICT_ADD_REDUNDANT.

BlockCacheCompressionDictBytesInsert = 21

RocksDb's BLOCK_CACHE_COMPRESSION_DICT_BYTES_INSERT.

BlockCacheCompressionDictHit = 19

RocksDb's BLOCK_CACHE_COMPRESSION_DICT_HIT.

BlockCacheCompressionDictMiss = 18

RocksDb's BLOCK_CACHE_COMPRESSION_DICT_MISS.

BlockCacheDataAdd = 14

of data blocks added to block cache.

RocksDb calls this BLOCK_CACHE_DATA_ADD.

BlockCacheDataAddRedundant = 25

of data blocks redundantly inserted into block cache. REQUIRES: BLOCK_CACHE_DATA_ADD_REDUNDANT <= BLOCK_CACHE_DATA_ADD

RocksDb calls this BLOCK_CACHE_DATA_ADD_REDUNDANT.

BlockCacheDataBytesInsert = 15

of bytes of data blocks inserted into cache

RocksDb calls this BLOCK_CACHE_DATA_BYTES_INSERT.

BlockCacheDataHit = 13

of times cache hit when accessing data block from block cache.

RocksDb calls this BLOCK_CACHE_DATA_HIT.

BlockCacheDataMiss = 12

of times cache miss when accessing data block from block cache.

RocksDb calls this BLOCK_CACHE_DATA_MISS.

BlockCacheFilterAdd = 10

of filter blocks added to block cache.

RocksDb calls this BLOCK_CACHE_FILTER_ADD.

BlockCacheFilterAddRedundant = 24

of filter blocks redundantly inserted into block cache. REQUIRES: BLOCK_CACHE_FILTER_ADD_REDUNDANT <= BLOCK_CACHE_FILTER_ADD

RocksDb calls this BLOCK_CACHE_FILTER_ADD_REDUNDANT.

BlockCacheFilterBytesInsert = 11

of bytes of bloom filter blocks inserted into cache

RocksDb calls this BLOCK_CACHE_FILTER_BYTES_INSERT.

BlockCacheFilterHit = 9

of times cache hit when accessing filter block from block cache.

RocksDb calls this BLOCK_CACHE_FILTER_HIT.

BlockCacheFilterMiss = 8

of times cache miss when accessing filter block from block cache.

RocksDb calls this BLOCK_CACHE_FILTER_MISS.

BlockCacheHit = 1

total block cache hit REQUIRES: BLOCK_CACHE_HIT == BLOCK_CACHE_INDEX_HIT + BLOCK_CACHE_FILTER_HIT + BLOCK_CACHE_DATA_HIT;

RocksDb calls this BLOCK_CACHE_HIT.

BlockCacheIndexAdd = 6

of index blocks added to block cache.

RocksDb calls this BLOCK_CACHE_INDEX_ADD.

BlockCacheIndexAddRedundant = 23

of index blocks redundantly inserted into block cache. REQUIRES: BLOCK_CACHE_INDEX_ADD_REDUNDANT <= BLOCK_CACHE_INDEX_ADD

RocksDb calls this BLOCK_CACHE_INDEX_ADD_REDUNDANT.

BlockCacheIndexBytesInsert = 7

of bytes of index blocks inserted into cache

RocksDb calls this BLOCK_CACHE_INDEX_BYTES_INSERT.

BlockCacheIndexHit = 5

of times cache hit when accessing index block from block cache.

RocksDb calls this BLOCK_CACHE_INDEX_HIT.

BlockCacheIndexMiss = 4

of times cache miss when accessing index block from block cache.

RocksDb calls this BLOCK_CACHE_INDEX_MISS.

BlockCacheMiss = 0

total block cache misses REQUIRES: BLOCK_CACHE_MISS == BLOCK_CACHE_INDEX_MISS + BLOCK_CACHE_FILTER_MISS + BLOCK_CACHE_DATA_MISS;

RocksDb calls this BLOCK_CACHE_MISS.

BlockChecksumComputeCount = 215

Number of block checksum verifications

RocksDb calls this BLOCK_CHECKSUM_COMPUTE_COUNT.

BlockChecksumMismatchCount = 216

Number of times RocksDB detected a corruption while verifying a block checksum. RocksDB does not remember corruptions that happened during user reads so the same block corruption may be detected multiple times.

RocksDb calls this BLOCK_CHECKSUM_MISMATCH_COUNT.

BloomFilterFullPositive = 36

of times bloom FullFilter has not avoided the reads.

RocksDb calls this BLOOM_FILTER_FULL_POSITIVE.

BloomFilterFullTruePositive = 37

of times bloom FullFilter has not avoided the reads and data actually exist.

RocksDb calls this BLOOM_FILTER_FULL_TRUE_POSITIVE.

BloomFilterPrefixChecked = 38

Prefix filter stats when used for point lookups (Get / MultiGet). (For prefix filter stats on iterators, see LEVEL_SEEK.) Checked: filter was queried

RocksDb calls this BLOOM_FILTER_PREFIX_CHECKED.

BloomFilterPrefixTruePositive = 40

True positive: found a key matching the point query. When another key with the same prefix matches, it is considered a false positive by these statistics even though the filter returned a true positive.

RocksDb calls this BLOOM_FILTER_PREFIX_TRUE_POSITIVE.

BloomFilterPrefixUseful = 39

Useful: filter returned false so prevented accessing data+index blocks

RocksDb calls this BLOOM_FILTER_PREFIX_USEFUL.

BloomFilterUseful = 35

of times bloom filter has avoided file reads, i.e., negatives.

RocksDb calls this BLOOM_FILTER_USEFUL.

BytesCompressedFrom = 109

Number of input bytes (uncompressed) to compression for SST blocks that are stored compressed.

RocksDb calls this BYTES_COMPRESSED_FROM.

BytesCompressedTo = 110

Number of output bytes (compressed) from compression for SST blocks that are stored compressed.

RocksDb calls this BYTES_COMPRESSED_TO.

BytesCompressionBypassed = 111

Number of uncompressed bytes for SST blocks that are stored uncompressed because compression type is kNoCompression, or some error case caused compression not to run or produce an output. Index blocks are only counted if enable_index_compression is true.

RocksDb calls this BYTES_COMPRESSION_BYPASSED.

BytesCompressionRejected = 112

Number of input bytes (uncompressed) to compression for SST blocks that are stored uncompressed because the compression result was rejected, either because the ratio was not acceptable (see CompressionOptions::max_compressed_bytes_per_kb) or found invalid by the verify_compression option.

RocksDb calls this BYTES_COMPRESSION_REJECTED.

BytesDecompressedFrom = 115

Number of input bytes (compressed) to decompression in reading compressed SST blocks from storage.

RocksDb calls this BYTES_DECOMPRESSED_FROM.

BytesDecompressedTo = 116

Number of output bytes (uncompressed) from decompression in reading compressed SST blocks from storage.

RocksDb calls this BYTES_DECOMPRESSED_TO.

BytesRead = 62

The number of uncompressed bytes read from DB::Get(). It could be either from memtables, cache, or table files. For the number of logical bytes read from DB::MultiGet(), please use NUMBER_MULTIGET_BYTES_READ.

RocksDb calls this BYTES_READ.

BytesWritten = 61

The number of uncompressed bytes issued by DB::Put(), DB::Delete(), DB::Merge(), and DB::Write().

RocksDb calls this BYTES_WRITTEN.

CheckpointReadBytes = 260

Bytes read/written while creating checkpoints

RocksDb calls this CHECKPOINT_READ_BYTES.

CheckpointWriteBytes = 261

RocksDb's CHECKPOINT_WRITE_BYTES.

ColdFileReadBytes = 194

RocksDb's COLD_FILE_READ_BYTES.

ColdFileReadCount = 199

RocksDb's COLD_FILE_READ_COUNT.

CompactReadBytes = 94

Bytes read during compaction

RocksDb calls this COMPACT_READ_BYTES.

CompactReadBytesMarked = 97

Compaction read and write statistics broken down by CompactionReason

RocksDb calls this COMPACT_READ_BYTES_MARKED.

CompactReadBytesPeriodic = 98

RocksDb's COMPACT_READ_BYTES_PERIODIC.

CompactReadBytesTtl = 99

RocksDb's COMPACT_READ_BYTES_TTL.

CompactWriteBytes = 95

Bytes written during compaction

RocksDb calls this COMPACT_WRITE_BYTES.

CompactWriteBytesMarked = 100

RocksDb's COMPACT_WRITE_BYTES_MARKED.

CompactWriteBytesPeriodic = 101

RocksDb's COMPACT_WRITE_BYTES_PERIODIC.

CompactWriteBytesTtl = 102

RocksDb's COMPACT_WRITE_BYTES_TTL.

CompactionAborted = 57

Number of compactions aborted via AbortAllCompactions()

RocksDb calls this COMPACTION_ABORTED.

CompactionCancelled = 56

If a compaction was canceled in sfm to prevent ENOSPC

RocksDb calls this COMPACTION_CANCELLED.

CompactionCpuTotalTime = 119

RocksDb's COMPACTION_CPU_TOTAL_TIME.

CompactionKeyDropNewerEntry = 50

COMPACTION_KEY_DROP_* count the reasons for key drop during compaction There are 4 reasons currently. key was written with a newer value. Also includes keys dropped for range del.

RocksDb calls this COMPACTION_KEY_DROP_NEWER_ENTRY.

CompactionKeyDropObsolete = 51

The key is obsolete.

RocksDb calls this COMPACTION_KEY_DROP_OBSOLETE.

CompactionKeyDropRangeDel = 52

key was covered by a range tombstone.

RocksDb calls this COMPACTION_KEY_DROP_RANGE_DEL.

CompactionKeyDropUser = 53

user compaction function has dropped the key.

RocksDb calls this COMPACTION_KEY_DROP_USER.

CompactionOptimizedDelDropObsolete = 55

RocksDb's COMPACTION_OPTIMIZED_DEL_DROP_OBSOLETE.

CompactionRangeDelDropObsolete = 54

all keys in range were deleted. Deletions obsoleted before bottom level due to file gap optimization.

RocksDb calls this COMPACTION_RANGE_DEL_DROP_OBSOLETE.

CompressedSecondaryCacheDummyHits = 31

Compressed secondary cache related stats

RocksDb calls this COMPRESSED_SECONDARY_CACHE_DUMMY_HITS.

CompressedSecondaryCacheHits = 32

RocksDb's COMPRESSED_SECONDARY_CACHE_HITS.

CompressedSecondaryCachePromotionSkips = 34

RocksDb's COMPRESSED_SECONDARY_CACHE_PROMOTION_SKIPS.

CompressedSecondaryCachePromotions = 33

RocksDb's COMPRESSED_SECONDARY_CACHE_PROMOTIONS.

CoolFileReadBytes = 193

RocksDb's COOL_FILE_READ_BYTES.

CoolFileReadCount = 198

RocksDb's COOL_FILE_READ_COUNT.

DbMutexWaitMicros = 77

The wait time for db mutex. Disabled by default. To enable it set stats level to kAll

RocksDb calls this DB_MUTEX_WAIT_MICROS.

ErrorHandlerAutoresumeCount = 180

RocksDb's ERROR_HANDLER_AUTORESUME_COUNT.

ErrorHandlerAutoresumeRetryTotalCount = 181

RocksDb's ERROR_HANDLER_AUTORESUME_RETRY_TOTAL_COUNT.

ErrorHandlerAutoresumeSuccessCount = 182

RocksDb's ERROR_HANDLER_AUTORESUME_SUCCESS_COUNT.

ErrorHandlerBgErrorCount = 177

The counters for error handler, note that, bg_io_error is the subset of bg_error and bg_retryable_io_error is the subset of bg_io_error.

RocksDb calls this ERROR_HANDLER_BG_ERROR_COUNT.

ErrorHandlerBgIoErrorCount = 178

RocksDb's ERROR_HANDLER_BG_IO_ERROR_COUNT.

ErrorHandlerBgRetryableIoErrorCount = 179

RocksDb's ERROR_HANDLER_BG_RETRYABLE_IO_ERROR_COUNT.

FifoChangeTemperatureCompactions = 227

RocksDb's FIFO_CHANGE_TEMPERATURE_COMPACTIONS.

FifoMaxSizeCompactions = 225

Number of FIFO compactions that drop files based on different reasons

RocksDb calls this FIFO_MAX_SIZE_COMPACTIONS.

FifoTtlCompactions = 226

RocksDb's FIFO_TTL_COMPACTIONS.

FileOpenMetadataPassed = 251

Number of times file open metadata was passed to NewRandomAccessFile() via FileOptions::file_metadata (on DB open / table cache miss)

RocksDb calls this FILE_OPEN_METADATA_PASSED.

FileOpenMetadataRetrieved = 250

Number of times file open metadata was retrieved from the file system via GetFileOpenMetadata() (when fast_sst_open is enabled)

RocksDb calls this FILE_OPEN_METADATA_RETRIEVED.

FileReadCorruptionRetryCount = 232

Counters for file read retries with the verify_and_reconstruct_read file system option after detecting a checksum mismatch

RocksDb calls this FILE_READ_CORRUPTION_RETRY_COUNT.

FileReadCorruptionRetrySuccessCount = 233

RocksDb's FILE_READ_CORRUPTION_RETRY_SUCCESS_COUNT.

FileSubmitAsyncReadFallback = 262

Number of SubmitReadAsync calls that fell back to a synchronous read

RocksDb calls this FILE_SUBMIT_ASYNC_READ_FALLBACK.

FilesDeletedFromTrashQueue = 175

of trash files deleted by the background thread from the trash queue.

RocksDb calls this FILES_DELETED_FROM_TRASH_QUEUE.

FilesDeletedImmediately = 176

of files deleted immediately by sst file manager through delete scheduler.

RocksDb calls this FILES_DELETED_IMMEDIATELY.

FilesMarkedTrash = 174

of files marked as trash by sst file manager and will be deleted later by background thread.

RocksDb calls this FILES_MARKED_TRASH.

FilterOperationTotalTime = 118

RocksDb's FILTER_OPERATION_TOTAL_TIME.

FlushReasonMemtableMaxRangeDeletions = 255

Number of flushes triggered because the memtable reached memtable_max_range_deletions.

RocksDb calls this FLUSH_REASON_MEMTABLE_MAX_RANGE_DELETIONS.

FlushReasonWriteBufferFull = 253

Number of flushes triggered because the memtable reached write_buffer_size.

RocksDb calls this FLUSH_REASON_WRITE_BUFFER_FULL.

FlushReasonWriteBufferManager = 254

Number of flushes triggered by WriteBufferManager memory pressure.

RocksDb calls this FLUSH_REASON_WRITE_BUFFER_MANAGER.

FlushWriteBytes = 96

Bytes written during flush

RocksDb calls this FLUSH_WRITE_BYTES.

GetHitL0 = 47

of Get() queries served by L0

RocksDb calls this GET_HIT_L0.

GetHitL1 = 48

of Get() queries served by L1

RocksDb calls this GET_HIT_L1.

GetHitL2AndUp = 49

of Get() queries served by L2 and up

RocksDb calls this GET_HIT_L2_AND_UP.

GetUpdatesSinceCalls = 83

Record the number of calls to GetUpdatesSince. Useful to keep track of transaction log iterator refreshes

RocksDb calls this GET_UPDATES_SINCE_CALLS.

HotFileReadBytes = 191

Tiered storage related statistics

RocksDb calls this HOT_FILE_READ_BYTES.

HotFileReadCount = 196

RocksDb's HOT_FILE_READ_COUNT.

IceFileReadBytes = 195

RocksDb's ICE_FILE_READ_BYTES.

IceFileReadCount = 200

RocksDb's ICE_FILE_READ_COUNT.

IterBytesRead = 69

The number of uncompressed bytes read from an iterator. Includes size of key and value.

RocksDb calls this ITER_BYTES_READ.

LastLevelReadBytes = 201

Last level and non-last level read statistics

RocksDb calls this LAST_LEVEL_READ_BYTES.

LastLevelReadCount = 202

RocksDb's LAST_LEVEL_READ_COUNT.

LastLevelSeekData = 207

At least one data block was accessed for a Seek() (or variant) on a sorted run.

RocksDb calls this LAST_LEVEL_SEEK_DATA.

LastLevelSeekDataUsefulFilterMatch = 209

At least one value() was accessed for the seek (suggesting it was useful), after querying a filter such as prefix Bloom.

RocksDb calls this LAST_LEVEL_SEEK_DATA_USEFUL_FILTER_MATCH.

LastLevelSeekDataUsefulNoFilter = 208

At least one value() was accessed for the seek (suggesting it was useful), and no filter such as prefix Bloom was queried.

RocksDb calls this LAST_LEVEL_SEEK_DATA_USEFUL_NO_FILTER.

LastLevelSeekFilterMatch = 206

Filter match: a filter such as prefix Bloom filter was queried but did not filter out the seek.

RocksDb calls this LAST_LEVEL_SEEK_FILTER_MATCH.

LastLevelSeekFiltered = 205

Statistics on iterator Seek() (and variants) for each sorted run. I.e. a single user Seek() can result in many sorted run Seek()s. The stats are split between last level and non-last level. Filtered: a filter such as prefix Bloom filter indicate the Seek() would not find anything relevant, so avoided a likely access to data+index blocks.

RocksDb calls this LAST_LEVEL_SEEK_FILTERED.

ManifestValidationFailureCount = 252

of times MANIFEST content validation detected corruption on DB close

RocksDb calls this MANIFEST_VALIDATION_FAILURE_COUNT.

MemtableGarbageBytesAtFlush = 184

Outdated bytes of data present on memtable at flush time.

RocksDb calls this MEMTABLE_GARBAGE_BYTES_AT_FLUSH.

MemtableHit = 45

of memtable hits.

RocksDb calls this MEMTABLE_HIT.

MemtableMiss = 46

of memtable misses.

RocksDb calls this MEMTABLE_MISS.

MemtablePayloadBytesAtFlush = 183

Statistics for memtable garbage collection: Raw bytes of data (payload) present on memtable at flush time.

RocksDb calls this MEMTABLE_PAYLOAD_BYTES_AT_FLUSH.

MergeOperationTotalTime = 117

Tickers that record cumulative time.

RocksDb calls this MERGE_OPERATION_TOTAL_TIME.

MultigetCoroutineCount = 217

RocksDb's MULTIGET_COROUTINE_COUNT.

MultiscanBlocksFromCache = 239

of blocks found already in cache during MultiScan Prepare

RocksDb calls this MULTISCAN_BLOCKS_FROM_CACHE.

MultiscanBlocksPrefetched = 238

of data blocks prefetched from storage during MultiScan

RocksDb calls this MULTISCAN_BLOCKS_PREFETCHED.

MultiscanIoCoalescedNonadjacent = 243

of non-adjacent blocks coalesced into single I/O (within io_coalesce_threshold)

RocksDb calls this MULTISCAN_IO_COALESCED_NONADJACENT.

MultiscanIoRequests = 242

of actual I/O requests issued during MultiScan

RocksDb calls this MULTISCAN_IO_REQUESTS.

MultiscanPrefetchBlocksWasted = 241

of prefetched blocks that were never accessed

RocksDb calls this MULTISCAN_PREFETCH_BLOCKS_WASTED.

MultiscanPrefetchBytes = 240

Total bytes prefetched during MultiScan

RocksDb calls this MULTISCAN_PREFETCH_BYTES.

MultiscanPrepareCalls = 236

MultiScan statistics # of Prepare() calls

RocksDb calls this MULTISCAN_PREPARE_CALLS.

MultiscanPrepareErrors = 237

of Prepare() calls that failed

RocksDb calls this MULTISCAN_PREPARE_ERRORS.

MultiscanSeekErrors = 244

of seeks that failed validation (out of order, etc.)

RocksDb calls this MULTISCAN_SEEK_ERRORS.

NoFileErrors = 75

RocksDb's NO_FILE_ERRORS.

NoFileOpens = 74

RocksDb's NO_FILE_OPENS.

NoIteratorCreated = 72

number of iterators created

RocksDb calls this NO_ITERATOR_CREATED.

NoIteratorDeleted = 73

number of iterators deleted

RocksDb calls this NO_ITERATOR_DELETED.

NonLastLevelReadBytes = 203

RocksDb's NON_LAST_LEVEL_READ_BYTES.

NonLastLevelReadCount = 204

RocksDb's NON_LAST_LEVEL_READ_COUNT.

NonLastLevelSeekData = 212

RocksDb's NON_LAST_LEVEL_SEEK_DATA.

NonLastLevelSeekDataUsefulFilterMatch = 214

RocksDb's NON_LAST_LEVEL_SEEK_DATA_USEFUL_FILTER_MATCH.

NonLastLevelSeekDataUsefulNoFilter = 213

RocksDb's NON_LAST_LEVEL_SEEK_DATA_USEFUL_NO_FILTER.

NonLastLevelSeekFilterMatch = 211

RocksDb's NON_LAST_LEVEL_SEEK_FILTER_MATCH.

NonLastLevelSeekFiltered = 210

The same set of stats, but for non-last level seeks.

RocksDb calls this NON_LAST_LEVEL_SEEK_FILTERED.

NumberBlockCompressed = 107

of compressions/decompressions executed

RocksDb calls this NUMBER_BLOCK_COMPRESSED.

NumberBlockCompressionBypassed = 113

Like BYTES_COMPRESSION_BYPASSED but counting number of blocks

RocksDb calls this NUMBER_BLOCK_COMPRESSION_BYPASSED.

NumberBlockCompressionRejected = 114

Like BYTES_COMPRESSION_REJECTED but counting number of blocks

RocksDb calls this NUMBER_BLOCK_COMPRESSION_REJECTED.

NumberBlockDecompressed = 108

RocksDb's NUMBER_BLOCK_DECOMPRESSED.

NumberDbNext = 64

RocksDb's NUMBER_DB_NEXT.

NumberDbNextFound = 67

RocksDb's NUMBER_DB_NEXT_FOUND.

NumberDbPrev = 65

RocksDb's NUMBER_DB_PREV.

NumberDbPrevFound = 68

RocksDb's NUMBER_DB_PREV_FOUND.

NumberDbSeek = 63

The number of calls to seek/next/prev

RocksDb calls this NUMBER_DB_SEEK.

NumberDbSeekFound = 66

The number of calls to seek/next/prev that returned data

RocksDb calls this NUMBER_DB_SEEK_FOUND.

NumberDirectLoadTableProperties = 103

Number of table's properties loaded directly from file, without creating table reader object.

RocksDb calls this NUMBER_DIRECT_LOAD_TABLE_PROPERTIES.

NumberIterSkip = 70

Number of internal keys skipped by Iterator

RocksDb calls this NUMBER_ITER_SKIP.

NumberKeysRead = 59

Number of Keys read,

RocksDb calls this NUMBER_KEYS_READ.

NumberKeysUpdated = 60

Number keys updated, if inplace update is enabled

RocksDb calls this NUMBER_KEYS_UPDATED.

NumberKeysWritten = 58

Number of keys written to the database via the Put and Write call's

RocksDb calls this NUMBER_KEYS_WRITTEN.

NumberMergeFailures = 82

RocksDb's NUMBER_MERGE_FAILURES.

NumberMultigetBytesRead = 80

RocksDb's NUMBER_MULTIGET_BYTES_READ.

NumberMultigetCalls = 78

Number of MultiGet calls, keys read, and bytes read

RocksDb calls this NUMBER_MULTIGET_CALLS.

NumberMultigetKeysFound = 81

Number of keys actually found in MultiGet calls (vs number requested by caller) NUMBER_MULTIGET_KEYS_READ gives the number requested by caller

RocksDb calls this NUMBER_MULTIGET_KEYS_FOUND.

NumberMultigetKeysRead = 79

RocksDb's NUMBER_MULTIGET_KEYS_READ.

NumberOfReseeksInIteration = 71

Number of times we had to reseek inside an iteration to skip over large number of keys with same userkey.

RocksDb calls this NUMBER_OF_RESEEKS_IN_ITERATION.

NumberRateLimiterDrains = 124

Number of refill intervals where rate limiter's bytes are fully consumed.

RocksDb calls this NUMBER_RATE_LIMITER_DRAINS.

NumberSuperversionAcquires = 104

RocksDb's NUMBER_SUPERVERSION_ACQUIRES.

NumberSuperversionCleanups = 106

RocksDb's NUMBER_SUPERVERSION_CLEANUPS.

NumberSuperversionReleases = 105

RocksDb's NUMBER_SUPERVERSION_RELEASES.

NumberWbwiIngest = 234

Counter for the number of times a WBWI is ingested into the DB. This happens when IngestWriteBatchWithIndex() is used and when large transaction optimization is enabled through TransactionOptions::large_txn_commit_optimize_threshold.

RocksDb calls this NUMBER_WBWI_INGEST.

PersistentCacheHit = 41

persistent cache hit

RocksDb calls this PERSISTENT_CACHE_HIT.

PersistentCacheMiss = 42

persistent cache miss

RocksDb calls this PERSISTENT_CACHE_MISS.

PrefetchBytes = 228

Number of bytes prefetched during user initiated scan

RocksDb calls this PREFETCH_BYTES.

PrefetchBytesUseful = 229

Number of prefetched bytes that were actually useful during user initiated scan

RocksDb calls this PREFETCH_BYTES_USEFUL.

PrefetchHits = 230

Number of FS reads avoided due to prefetching during user initiated scan

RocksDb calls this PREFETCH_HITS.

PrefetchMemoryBytesGranted = 245

IODispatcher memory limiting statistics # of bytes granted to prefetch requests

RocksDb calls this PREFETCH_MEMORY_BYTES_GRANTED.

PrefetchMemoryBytesReleased = 246

of bytes released from prefetch memory

RocksDb calls this PREFETCH_MEMORY_BYTES_RELEASED.

PrefetchMemoryRequestsBlocked = 247

of prefetch requests that were blocked waiting for memory

RocksDb calls this PREFETCH_MEMORY_REQUESTS_BLOCKED.

RateLimiterBytesRead = 125

Bytes granted by the rate limiter for read requests.

RocksDb calls this RATE_LIMITER_BYTES_READ.

RateLimiterBytesWrite = 126

Bytes granted by the rate limiter for write requests.

RocksDb calls this RATE_LIMITER_BYTES_WRITE.

RateLimiterDelayedRequestsRead = 129

Number of read requests that waited for a future rate limiter refill.

RocksDb calls this RATE_LIMITER_DELAYED_REQUESTS_READ.

RateLimiterDelayedRequestsWrite = 130

Number of write requests that waited for a future rate limiter refill.

RocksDb calls this RATE_LIMITER_DELAYED_REQUESTS_WRITE.

RateLimiterRequestsRead = 127

Number of read requests granted by the rate limiter.

RocksDb calls this RATE_LIMITER_REQUESTS_READ.

RateLimiterRequestsWrite = 128

Number of write requests granted by the rate limiter.

RocksDb calls this RATE_LIMITER_REQUESTS_WRITE.

RateLimiterTotalWaitMicrosRead = 131

Total time read requests spent waiting for rate limiter refills.

RocksDb calls this RATE_LIMITER_TOTAL_WAIT_MICROS_READ.

RateLimiterTotalWaitMicrosWrite = 132

Total time write requests spent waiting for rate limiter refills.

RocksDb calls this RATE_LIMITER_TOTAL_WAIT_MICROS_WRITE.

ReadAmpEstimateUsefulBytes = 122

Read amplification statistics. Read amplification can be calculated using this formula (READ_AMP_TOTAL_READ_BYTES / READ_AMP_ESTIMATE_USEFUL_BYTES) REQUIRES: ReadOptions::read_amp_bytes_per_bit to be enabled Estimate of total bytes actually used.

RocksDb calls this READ_AMP_ESTIMATE_USEFUL_BYTES.

ReadAmpTotalReadBytes = 123

Total size of loaded data blocks.

RocksDb calls this READ_AMP_TOTAL_READ_BYTES.

ReadAsyncMicros = 218

Time spent in the ReadAsync file system call

RocksDb calls this READ_ASYNC_MICROS.

ReadPathRangeTombstonesDiscarded = 249

of range tombstones not inserted. Reasons include: - iterator's snapshot predates the memtable - tombstones may be uncommitted (transactions) - memtable already has a covering range tombstone - memtable switched to immutable state

RocksDb calls this READ_PATH_RANGE_TOMBSTONES_DISCARDED.

ReadPathRangeTombstonesInserted = 248

of range tombstones inserted by read-path conversion from contiguous point tombstones

RocksDb calls this READ_PATH_RANGE_TOMBSTONES_INSERTED.

ReadaheadTrimmed = 224

Number of times readahead is trimmed during scans when ReadOptions.auto_readahead_size is set.

RocksDb calls this READAHEAD_TRIMMED.

RemoteCompactReadBytes = 188

Remote compaction read/write statistics

RocksDb calls this REMOTE_COMPACT_READ_BYTES.

RemoteCompactResumedBytes = 190

Bytes of output files successfully resumed during compaction

RocksDb calls this REMOTE_COMPACT_RESUMED_BYTES.

RemoteCompactWriteBytes = 189

RocksDb's REMOTE_COMPACT_WRITE_BYTES.

RowCacheHit = 120

Row cache.

RocksDb calls this ROW_CACHE_HIT.

RowCacheMiss = 121

RocksDb's ROW_CACHE_MISS.

SecondaryCacheDataHits = 30

RocksDb's SECONDARY_CACHE_DATA_HITS.

SecondaryCacheFilterHits = 28

Fine grained secondary cache stats

RocksDb calls this SECONDARY_CACHE_FILTER_HITS.

SecondaryCacheHits = 27

Secondary cache statistics

RocksDb calls this SECONDARY_CACHE_HITS.

SecondaryCacheIndexHits = 29

RocksDb's SECONDARY_CACHE_INDEX_HITS.

SimBlockCacheHit = 43

total simulation block cache hits

RocksDb calls this SIM_BLOCK_CACHE_HIT.

SimBlockCacheMiss = 44

total simulation block cache misses

RocksDb calls this SIM_BLOCK_CACHE_MISS.

SstFooterCorruptionCount = 231

Footer corruption detected when opening an SST file for reading

RocksDb calls this SST_FOOTER_CORRUPTION_COUNT.

SstUserDefinedIndexLoadFailCount = 235

Failure to load the UDI during SST table open

RocksDb calls this SST_USER_DEFINED_INDEX_LOAD_FAIL_COUNT.

StallMicros = 76

Writer has to wait for compaction or flush to finish.

RocksDb calls this STALL_MICROS.

TableOpenPrefetchTailHit = 221

Number of lookup into the prefetched tail (see TABLE_OPEN_PREFETCH_TAIL_READ_BYTES) that finds its data for table open

RocksDb calls this TABLE_OPEN_PREFETCH_TAIL_HIT.

TableOpenPrefetchTailMiss = 220

Number of lookup into the prefetched tail (see TABLE_OPEN_PREFETCH_TAIL_READ_BYTES) that can't find its data for table open

RocksDb calls this TABLE_OPEN_PREFETCH_TAIL_MISS.

TimestampFilterTableChecked = 222

Statistics on the filtering by user-defined timestamps # of times timestamps are checked on accessing the table

RocksDb calls this TIMESTAMP_FILTER_TABLE_CHECKED.

TimestampFilterTableFiltered = 223

of times timestamps can successfully help skip the table access

RocksDb calls this TIMESTAMP_FILTER_TABLE_FILTERED.

TxnDuplicateKeyOverhead = 171

of times we checked a batch for duplicate keys.

RocksDb calls this TXN_DUPLICATE_KEY_OVERHEAD.

TxnGetTryAgain = 173

of times ::Get returned TryAgain due to expired snapshot seq

RocksDb calls this TXN_GET_TRY_AGAIN.

TxnOldCommitMapMutexOverhead = 170

of times old_commit_map_mutex_ is acquired in the fast path.

RocksDb calls this TXN_OLD_COMMIT_MAP_MUTEX_OVERHEAD.

TxnPrepareMutexOverhead = 169

These counters indicate a performance issue in WritePrepared transactions. We should not seem them ticking them much. # of times prepare_mutex_ is acquired in the fast path.

RocksDb calls this TXN_PREPARE_MUTEX_OVERHEAD.

TxnSnapshotMutexOverhead = 172

of times snapshot_mutex_ is acquired in the fast path.

RocksDb calls this TXN_SNAPSHOT_MUTEX_OVERHEAD.

VerifyChecksumReadBytes = 185

Bytes read by VerifyChecksum() and VerifyFileChecksums() APIs.

RocksDb calls this VERIFY_CHECKSUM_READ_BYTES.

WalFileBytes = 85

Number of bytes written to WAL Number of WAL rotations that consumed an async precreated WAL.

RocksDb calls this WAL_FILE_BYTES.

WalFileSynced = 84

Number of times WAL sync is done

RocksDb calls this WAL_FILE_SYNCED.

WalPrecreateFailed = 90

Number of async WAL precreation attempts that failed.

RocksDb calls this WAL_PRECREATE_FAILED.

WalPrecreateHit = 86

RocksDb's WAL_PRECREATE_HIT.

WalPrecreateMiss = 87

Number of WAL rotations that found no async precreated WAL to consume.

RocksDb calls this WAL_PRECREATE_MISS.

WalPrecreateWaitMicros = 89

Total foreground wait time for in-flight WAL precreation.

RocksDb calls this WAL_PRECREATE_WAIT_MICROS.

WalPrecreateWaited = 88

Number of WAL rotations that waited for an in-flight WAL precreation.

RocksDb calls this WAL_PRECREATE_WAITED.

WarmFileReadBytes = 192

RocksDb's WARM_FILE_READ_BYTES.

WarmFileReadCount = 197

RocksDb's WARM_FILE_READ_COUNT.

WriteDoneByOther = 92

Equivalent to writes done for others

RocksDb calls this WRITE_DONE_BY_OTHER.

WriteDoneBySelf = 91

Writes can be processed by requesting thread or by the thread at the head of the writers queue.

RocksDb calls this WRITE_DONE_BY_SELF.

WriteWithWal = 93

Number of Write calls that request WAL

RocksDb calls this WRITE_WITH_WAL.

Remarks

Pass one to GetTickerCount(Ticker). Every counter is cumulative for the life of the statistics object.

The values are positional in RocksDb's header, so they change between releases when a counter is added or retired. They are generated from the pinned version rather than written out by hand for that reason.