Enum Ticker
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
A counter collected by the statistics subsystem.
public enum Ticker
Fields
AsyncReadErrorCount = 219Number of errors returned to the async read callback
RocksDb calls this
ASYNC_READ_ERROR_COUNT.AtomicFlushRequestReasonMemtableMaxRangeDeletions = 258Number 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 = 259Number 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 = 256Number of atomic flush requests triggered because a memtable reached write_buffer_size.
RocksDb calls this
ATOMIC_FLUSH_REQUEST_REASON_WRITE_BUFFER_FULL.AtomicFlushRequestReasonWriteBufferManager = 257Number of atomic flush requests triggered by WriteBufferManager memory pressure.
RocksDb calls this
ATOMIC_FLUSH_REQUEST_REASON_WRITE_BUFFER_MANAGER.BackupReadBytes = 186Bytes read/written while creating backups
RocksDb calls this
BACKUP_READ_BYTES.BackupWriteBytes = 187RocksDb's
BACKUP_WRITE_BYTES.BlobDbBlobFileBytesRead = 149of bytes read from blob file.
RocksDb calls this
BLOB_DB_BLOB_FILE_BYTES_READ.BlobDbBlobFileBytesWritten = 148of bytes written to blob file.
RocksDb calls this
BLOB_DB_BLOB_FILE_BYTES_WRITTEN.BlobDbBlobFileSynced = 150of times a blob files being synced.
RocksDb calls this
BLOB_DB_BLOB_FILE_SYNCED.BlobDbBlobIndexEvictedCount = 153of 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 = 154size 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 = 151of 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 = 152size 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 = 143of bytes (keys + value) read from BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_BYTES_READ.BlobDbBytesWritten = 142of bytes (key + value) written to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_BYTES_WRITTEN.BlobDbCacheAdd = 165of data blocks added to blob cache.
RocksDb calls this
BLOB_DB_CACHE_ADD.BlobDbCacheAddFailures = 166of failures when adding blobs to blob cache.
RocksDb calls this
BLOB_DB_CACHE_ADD_FAILURES.BlobDbCacheBytesRead = 167of bytes read from blob cache.
RocksDb calls this
BLOB_DB_CACHE_BYTES_READ.BlobDbCacheBytesWrite = 168of bytes written into blob cache.
RocksDb calls this
BLOB_DB_CACHE_BYTES_WRITE.BlobDbCacheHit = 164of times cache hit when accessing blob from blob cache.
RocksDb calls this
BLOB_DB_CACHE_HIT.BlobDbCacheMiss = 163Integrated BlobDB specific stats # of times cache miss when accessing blob from blob cache.
RocksDb calls this
BLOB_DB_CACHE_MISS.BlobDbFifoBytesEvicted = 162of 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 = 160of blob files evicted because of BlobDB is full. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_FIFO_NUM_FILES_EVICTED.BlobDbFifoNumKeysEvicted = 161of 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 = 159of bytes relocated to new blob file by garbage collection.
RocksDb calls this
BLOB_DB_GC_BYTES_RELOCATED.BlobDbGcFailures = 157of BlobDB garbage collection failures. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_GC_FAILURES.BlobDbGcNumFiles = 155of blob files that were obsoleted by garbage collection. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_GC_NUM_FILES.BlobDbGcNumKeysRelocated = 158of keys relocated to new blob file by garbage collection.
RocksDb calls this
BLOB_DB_GC_NUM_KEYS_RELOCATED.BlobDbGcNumNewFiles = 156of blob files generated by garbage collection. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_GC_NUM_NEW_FILES.BlobDbNumGet = 135of Get to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_GET.BlobDbNumKeysRead = 141of keys read from BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_KEYS_READ.BlobDbNumKeysWritten = 140of keys written to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_KEYS_WRITTEN.BlobDbNumMultiget = 136of MultiGet to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_MULTIGET.BlobDbNumNext = 138of Next to BlobDB iterator. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_NEXT.BlobDbNumPrev = 139of Prev to BlobDB iterator. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_PREV.BlobDbNumPut = 133BlobDB specific stats # of Put/PutWithTTL to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_PUT.BlobDbNumSeek = 137of Seek/SeekToFirst/SeekToLast/SeekForPrev to BlobDB iterator. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_SEEK.BlobDbNumWrite = 134of Write to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NUM_WRITE.BlobDbWriteBlob = 146of keys written by BlobDB as non-TTL blob value. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_WRITE_BLOB.BlobDbWriteBlobTtl = 147of keys written by BlobDB as TTL blob value. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_WRITE_BLOB_TTL.BlobDbWriteInlinedDeprecated = 144Deprecated: min_blob_size is no longer configurable. Retained to avoid shifting enum values.
RocksDb calls this
BLOB_DB_WRITE_INLINED_DEPRECATED.BlobDbWriteInlinedTtlDeprecated = 145Deprecated: min_blob_size is no longer configurable. Retained to avoid shifting enum values.
RocksDb calls this
BLOB_DB_WRITE_INLINED_TTL_DEPRECATED.BlockCacheAdd = 2of blocks added to block cache.
RocksDb calls this
BLOCK_CACHE_ADD.BlockCacheAddFailures = 3of failures when adding blocks to block cache.
RocksDb calls this
BLOCK_CACHE_ADD_FAILURES.BlockCacheAddRedundant = 22of blocks redundantly inserted into block cache. REQUIRES: BLOCK_CACHE_ADD_REDUNDANT <= BLOCK_CACHE_ADD
RocksDb calls this
BLOCK_CACHE_ADD_REDUNDANT.BlockCacheBytesRead = 16of bytes read from cache.
RocksDb calls this
BLOCK_CACHE_BYTES_READ.BlockCacheBytesWrite = 17of bytes written into cache.
RocksDb calls this
BLOCK_CACHE_BYTES_WRITE.BlockCacheCompressionDictAdd = 20RocksDb's
BLOCK_CACHE_COMPRESSION_DICT_ADD.BlockCacheCompressionDictAddRedundant = 26of 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 = 21RocksDb's
BLOCK_CACHE_COMPRESSION_DICT_BYTES_INSERT.BlockCacheCompressionDictHit = 19RocksDb's
BLOCK_CACHE_COMPRESSION_DICT_HIT.BlockCacheCompressionDictMiss = 18RocksDb's
BLOCK_CACHE_COMPRESSION_DICT_MISS.BlockCacheDataAdd = 14of data blocks added to block cache.
RocksDb calls this
BLOCK_CACHE_DATA_ADD.BlockCacheDataAddRedundant = 25of 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 = 15of bytes of data blocks inserted into cache
RocksDb calls this
BLOCK_CACHE_DATA_BYTES_INSERT.BlockCacheDataHit = 13of times cache hit when accessing data block from block cache.
RocksDb calls this
BLOCK_CACHE_DATA_HIT.BlockCacheDataMiss = 12of times cache miss when accessing data block from block cache.
RocksDb calls this
BLOCK_CACHE_DATA_MISS.BlockCacheFilterAdd = 10of filter blocks added to block cache.
RocksDb calls this
BLOCK_CACHE_FILTER_ADD.BlockCacheFilterAddRedundant = 24of 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 = 11of bytes of bloom filter blocks inserted into cache
RocksDb calls this
BLOCK_CACHE_FILTER_BYTES_INSERT.BlockCacheFilterHit = 9of times cache hit when accessing filter block from block cache.
RocksDb calls this
BLOCK_CACHE_FILTER_HIT.BlockCacheFilterMiss = 8of times cache miss when accessing filter block from block cache.
RocksDb calls this
BLOCK_CACHE_FILTER_MISS.BlockCacheHit = 1total 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 = 6of index blocks added to block cache.
RocksDb calls this
BLOCK_CACHE_INDEX_ADD.BlockCacheIndexAddRedundant = 23of 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 = 7of bytes of index blocks inserted into cache
RocksDb calls this
BLOCK_CACHE_INDEX_BYTES_INSERT.BlockCacheIndexHit = 5of times cache hit when accessing index block from block cache.
RocksDb calls this
BLOCK_CACHE_INDEX_HIT.BlockCacheIndexMiss = 4of times cache miss when accessing index block from block cache.
RocksDb calls this
BLOCK_CACHE_INDEX_MISS.BlockCacheMiss = 0total 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 = 215Number of block checksum verifications
RocksDb calls this
BLOCK_CHECKSUM_COMPUTE_COUNT.BlockChecksumMismatchCount = 216Number 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 = 36of times bloom FullFilter has not avoided the reads.
RocksDb calls this
BLOOM_FILTER_FULL_POSITIVE.BloomFilterFullTruePositive = 37of times bloom FullFilter has not avoided the reads and data actually exist.
RocksDb calls this
BLOOM_FILTER_FULL_TRUE_POSITIVE.BloomFilterPrefixChecked = 38Prefix 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 = 40True 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 = 39Useful: filter returned false so prevented accessing data+index blocks
RocksDb calls this
BLOOM_FILTER_PREFIX_USEFUL.BloomFilterUseful = 35of times bloom filter has avoided file reads, i.e., negatives.
RocksDb calls this
BLOOM_FILTER_USEFUL.BytesCompressedFrom = 109Number of input bytes (uncompressed) to compression for SST blocks that are stored compressed.
RocksDb calls this
BYTES_COMPRESSED_FROM.BytesCompressedTo = 110Number of output bytes (compressed) from compression for SST blocks that are stored compressed.
RocksDb calls this
BYTES_COMPRESSED_TO.BytesCompressionBypassed = 111Number 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 = 112Number 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_compressionoption.RocksDb calls this
BYTES_COMPRESSION_REJECTED.BytesDecompressedFrom = 115Number of input bytes (compressed) to decompression in reading compressed SST blocks from storage.
RocksDb calls this
BYTES_DECOMPRESSED_FROM.BytesDecompressedTo = 116Number of output bytes (uncompressed) from decompression in reading compressed SST blocks from storage.
RocksDb calls this
BYTES_DECOMPRESSED_TO.BytesRead = 62The 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 = 61The number of uncompressed bytes issued by DB::Put(), DB::Delete(), DB::Merge(), and DB::Write().
RocksDb calls this
BYTES_WRITTEN.CheckpointReadBytes = 260Bytes read/written while creating checkpoints
RocksDb calls this
CHECKPOINT_READ_BYTES.CheckpointWriteBytes = 261RocksDb's
CHECKPOINT_WRITE_BYTES.ColdFileReadBytes = 194RocksDb's
COLD_FILE_READ_BYTES.ColdFileReadCount = 199RocksDb's
COLD_FILE_READ_COUNT.CompactReadBytes = 94Bytes read during compaction
RocksDb calls this
COMPACT_READ_BYTES.CompactReadBytesMarked = 97Compaction read and write statistics broken down by CompactionReason
RocksDb calls this
COMPACT_READ_BYTES_MARKED.CompactReadBytesPeriodic = 98RocksDb's
COMPACT_READ_BYTES_PERIODIC.CompactReadBytesTtl = 99RocksDb's
COMPACT_READ_BYTES_TTL.CompactWriteBytes = 95Bytes written during compaction
RocksDb calls this
COMPACT_WRITE_BYTES.CompactWriteBytesMarked = 100RocksDb's
COMPACT_WRITE_BYTES_MARKED.CompactWriteBytesPeriodic = 101RocksDb's
COMPACT_WRITE_BYTES_PERIODIC.CompactWriteBytesTtl = 102RocksDb's
COMPACT_WRITE_BYTES_TTL.CompactionAborted = 57Number of compactions aborted via AbortAllCompactions()
RocksDb calls this
COMPACTION_ABORTED.CompactionCancelled = 56If a compaction was canceled in sfm to prevent ENOSPC
RocksDb calls this
COMPACTION_CANCELLED.CompactionCpuTotalTime = 119RocksDb's
COMPACTION_CPU_TOTAL_TIME.CompactionKeyDropNewerEntry = 50COMPACTION_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 = 51The key is obsolete.
RocksDb calls this
COMPACTION_KEY_DROP_OBSOLETE.CompactionKeyDropRangeDel = 52key was covered by a range tombstone.
RocksDb calls this
COMPACTION_KEY_DROP_RANGE_DEL.CompactionKeyDropUser = 53user compaction function has dropped the key.
RocksDb calls this
COMPACTION_KEY_DROP_USER.CompactionOptimizedDelDropObsolete = 55RocksDb's
COMPACTION_OPTIMIZED_DEL_DROP_OBSOLETE.CompactionRangeDelDropObsolete = 54all keys in range were deleted. Deletions obsoleted before bottom level due to file gap optimization.
RocksDb calls this
COMPACTION_RANGE_DEL_DROP_OBSOLETE.CompressedSecondaryCacheDummyHits = 31Compressed secondary cache related stats
RocksDb calls this
COMPRESSED_SECONDARY_CACHE_DUMMY_HITS.CompressedSecondaryCacheHits = 32RocksDb's
COMPRESSED_SECONDARY_CACHE_HITS.CompressedSecondaryCachePromotionSkips = 34RocksDb's
COMPRESSED_SECONDARY_CACHE_PROMOTION_SKIPS.CompressedSecondaryCachePromotions = 33RocksDb's
COMPRESSED_SECONDARY_CACHE_PROMOTIONS.CoolFileReadBytes = 193RocksDb's
COOL_FILE_READ_BYTES.CoolFileReadCount = 198RocksDb's
COOL_FILE_READ_COUNT.DbMutexWaitMicros = 77The wait time for db mutex. Disabled by default. To enable it set stats level to kAll
RocksDb calls this
DB_MUTEX_WAIT_MICROS.ErrorHandlerAutoresumeCount = 180RocksDb's
ERROR_HANDLER_AUTORESUME_COUNT.ErrorHandlerAutoresumeRetryTotalCount = 181RocksDb's
ERROR_HANDLER_AUTORESUME_RETRY_TOTAL_COUNT.ErrorHandlerAutoresumeSuccessCount = 182RocksDb's
ERROR_HANDLER_AUTORESUME_SUCCESS_COUNT.ErrorHandlerBgErrorCount = 177The 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 = 178RocksDb's
ERROR_HANDLER_BG_IO_ERROR_COUNT.ErrorHandlerBgRetryableIoErrorCount = 179RocksDb's
ERROR_HANDLER_BG_RETRYABLE_IO_ERROR_COUNT.FifoChangeTemperatureCompactions = 227RocksDb's
FIFO_CHANGE_TEMPERATURE_COMPACTIONS.FifoMaxSizeCompactions = 225Number of FIFO compactions that drop files based on different reasons
RocksDb calls this
FIFO_MAX_SIZE_COMPACTIONS.FifoTtlCompactions = 226RocksDb's
FIFO_TTL_COMPACTIONS.FileOpenMetadataPassed = 251Number 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 = 250Number 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 = 232Counters 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 = 233RocksDb's
FILE_READ_CORRUPTION_RETRY_SUCCESS_COUNT.FileSubmitAsyncReadFallback = 262Number of SubmitReadAsync calls that fell back to a synchronous read
RocksDb calls this
FILE_SUBMIT_ASYNC_READ_FALLBACK.FilesDeletedFromTrashQueue = 175of trash files deleted by the background thread from the trash queue.
RocksDb calls this
FILES_DELETED_FROM_TRASH_QUEUE.FilesDeletedImmediately = 176of files deleted immediately by sst file manager through delete scheduler.
RocksDb calls this
FILES_DELETED_IMMEDIATELY.FilesMarkedTrash = 174of files marked as trash by sst file manager and will be deleted later by background thread.
RocksDb calls this
FILES_MARKED_TRASH.FilterOperationTotalTime = 118RocksDb's
FILTER_OPERATION_TOTAL_TIME.FlushReasonMemtableMaxRangeDeletions = 255Number of flushes triggered because the memtable reached memtable_max_range_deletions.
RocksDb calls this
FLUSH_REASON_MEMTABLE_MAX_RANGE_DELETIONS.FlushReasonWriteBufferFull = 253Number of flushes triggered because the memtable reached write_buffer_size.
RocksDb calls this
FLUSH_REASON_WRITE_BUFFER_FULL.FlushReasonWriteBufferManager = 254Number of flushes triggered by WriteBufferManager memory pressure.
RocksDb calls this
FLUSH_REASON_WRITE_BUFFER_MANAGER.FlushWriteBytes = 96Bytes written during flush
RocksDb calls this
FLUSH_WRITE_BYTES.GetHitL0 = 47of Get() queries served by L0
RocksDb calls this
GET_HIT_L0.GetHitL1 = 48of Get() queries served by L1
RocksDb calls this
GET_HIT_L1.GetHitL2AndUp = 49of Get() queries served by L2 and up
RocksDb calls this
GET_HIT_L2_AND_UP.GetUpdatesSinceCalls = 83Record the number of calls to GetUpdatesSince. Useful to keep track of transaction log iterator refreshes
RocksDb calls this
GET_UPDATES_SINCE_CALLS.HotFileReadBytes = 191Tiered storage related statistics
RocksDb calls this
HOT_FILE_READ_BYTES.HotFileReadCount = 196RocksDb's
HOT_FILE_READ_COUNT.IceFileReadBytes = 195RocksDb's
ICE_FILE_READ_BYTES.IceFileReadCount = 200RocksDb's
ICE_FILE_READ_COUNT.IterBytesRead = 69The number of uncompressed bytes read from an iterator. Includes size of key and value.
RocksDb calls this
ITER_BYTES_READ.LastLevelReadBytes = 201Last level and non-last level read statistics
RocksDb calls this
LAST_LEVEL_READ_BYTES.LastLevelReadCount = 202RocksDb's
LAST_LEVEL_READ_COUNT.LastLevelSeekData = 207At least one data block was accessed for a Seek() (or variant) on a sorted run.
RocksDb calls this
LAST_LEVEL_SEEK_DATA.LastLevelSeekDataUsefulFilterMatch = 209At 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 = 208At 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 = 206Filter 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 = 205Statistics 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 = 252of times MANIFEST content validation detected corruption on DB close
RocksDb calls this
MANIFEST_VALIDATION_FAILURE_COUNT.MemtableGarbageBytesAtFlush = 184Outdated bytes of data present on memtable at flush time.
RocksDb calls this
MEMTABLE_GARBAGE_BYTES_AT_FLUSH.MemtableHit = 45of memtable hits.
RocksDb calls this
MEMTABLE_HIT.MemtableMiss = 46of memtable misses.
RocksDb calls this
MEMTABLE_MISS.MemtablePayloadBytesAtFlush = 183Statistics for memtable garbage collection: Raw bytes of data (payload) present on memtable at flush time.
RocksDb calls this
MEMTABLE_PAYLOAD_BYTES_AT_FLUSH.MergeOperationTotalTime = 117Tickers that record cumulative time.
RocksDb calls this
MERGE_OPERATION_TOTAL_TIME.MultigetCoroutineCount = 217RocksDb's
MULTIGET_COROUTINE_COUNT.MultiscanBlocksFromCache = 239of blocks found already in cache during MultiScan Prepare
RocksDb calls this
MULTISCAN_BLOCKS_FROM_CACHE.MultiscanBlocksPrefetched = 238of data blocks prefetched from storage during MultiScan
RocksDb calls this
MULTISCAN_BLOCKS_PREFETCHED.MultiscanIoCoalescedNonadjacent = 243of non-adjacent blocks coalesced into single I/O (within io_coalesce_threshold)
RocksDb calls this
MULTISCAN_IO_COALESCED_NONADJACENT.MultiscanIoRequests = 242of actual I/O requests issued during MultiScan
RocksDb calls this
MULTISCAN_IO_REQUESTS.MultiscanPrefetchBlocksWasted = 241of prefetched blocks that were never accessed
RocksDb calls this
MULTISCAN_PREFETCH_BLOCKS_WASTED.MultiscanPrefetchBytes = 240Total bytes prefetched during MultiScan
RocksDb calls this
MULTISCAN_PREFETCH_BYTES.MultiscanPrepareCalls = 236MultiScan statistics # of Prepare() calls
RocksDb calls this
MULTISCAN_PREPARE_CALLS.MultiscanPrepareErrors = 237of Prepare() calls that failed
RocksDb calls this
MULTISCAN_PREPARE_ERRORS.MultiscanSeekErrors = 244of seeks that failed validation (out of order, etc.)
RocksDb calls this
MULTISCAN_SEEK_ERRORS.NoFileErrors = 75RocksDb's
NO_FILE_ERRORS.NoFileOpens = 74RocksDb's
NO_FILE_OPENS.NoIteratorCreated = 72number of iterators created
RocksDb calls this
NO_ITERATOR_CREATED.NoIteratorDeleted = 73number of iterators deleted
RocksDb calls this
NO_ITERATOR_DELETED.NonLastLevelReadBytes = 203RocksDb's
NON_LAST_LEVEL_READ_BYTES.NonLastLevelReadCount = 204RocksDb's
NON_LAST_LEVEL_READ_COUNT.NonLastLevelSeekData = 212RocksDb's
NON_LAST_LEVEL_SEEK_DATA.NonLastLevelSeekDataUsefulFilterMatch = 214RocksDb's
NON_LAST_LEVEL_SEEK_DATA_USEFUL_FILTER_MATCH.NonLastLevelSeekDataUsefulNoFilter = 213RocksDb's
NON_LAST_LEVEL_SEEK_DATA_USEFUL_NO_FILTER.NonLastLevelSeekFilterMatch = 211RocksDb's
NON_LAST_LEVEL_SEEK_FILTER_MATCH.NonLastLevelSeekFiltered = 210The same set of stats, but for non-last level seeks.
RocksDb calls this
NON_LAST_LEVEL_SEEK_FILTERED.NumberBlockCompressed = 107of compressions/decompressions executed
RocksDb calls this
NUMBER_BLOCK_COMPRESSED.NumberBlockCompressionBypassed = 113Like BYTES_COMPRESSION_BYPASSED but counting number of blocks
RocksDb calls this
NUMBER_BLOCK_COMPRESSION_BYPASSED.NumberBlockCompressionRejected = 114Like BYTES_COMPRESSION_REJECTED but counting number of blocks
RocksDb calls this
NUMBER_BLOCK_COMPRESSION_REJECTED.NumberBlockDecompressed = 108RocksDb's
NUMBER_BLOCK_DECOMPRESSED.NumberDbNext = 64RocksDb's
NUMBER_DB_NEXT.NumberDbNextFound = 67RocksDb's
NUMBER_DB_NEXT_FOUND.NumberDbPrev = 65RocksDb's
NUMBER_DB_PREV.NumberDbPrevFound = 68RocksDb's
NUMBER_DB_PREV_FOUND.NumberDbSeek = 63The number of calls to seek/next/prev
RocksDb calls this
NUMBER_DB_SEEK.NumberDbSeekFound = 66The number of calls to seek/next/prev that returned data
RocksDb calls this
NUMBER_DB_SEEK_FOUND.NumberDirectLoadTableProperties = 103Number of table's properties loaded directly from file, without creating table reader object.
RocksDb calls this
NUMBER_DIRECT_LOAD_TABLE_PROPERTIES.NumberIterSkip = 70Number of internal keys skipped by Iterator
RocksDb calls this
NUMBER_ITER_SKIP.NumberKeysRead = 59Number of Keys read,
RocksDb calls this
NUMBER_KEYS_READ.NumberKeysUpdated = 60Number keys updated, if inplace update is enabled
RocksDb calls this
NUMBER_KEYS_UPDATED.NumberKeysWritten = 58Number of keys written to the database via the Put and Write call's
RocksDb calls this
NUMBER_KEYS_WRITTEN.NumberMergeFailures = 82RocksDb's
NUMBER_MERGE_FAILURES.NumberMultigetBytesRead = 80RocksDb's
NUMBER_MULTIGET_BYTES_READ.NumberMultigetCalls = 78Number of MultiGet calls, keys read, and bytes read
RocksDb calls this
NUMBER_MULTIGET_CALLS.NumberMultigetKeysFound = 81Number 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 = 79RocksDb's
NUMBER_MULTIGET_KEYS_READ.NumberOfReseeksInIteration = 71Number 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 = 124Number of refill intervals where rate limiter's bytes are fully consumed.
RocksDb calls this
NUMBER_RATE_LIMITER_DRAINS.NumberSuperversionAcquires = 104RocksDb's
NUMBER_SUPERVERSION_ACQUIRES.NumberSuperversionCleanups = 106RocksDb's
NUMBER_SUPERVERSION_CLEANUPS.NumberSuperversionReleases = 105RocksDb's
NUMBER_SUPERVERSION_RELEASES.NumberWbwiIngest = 234Counter 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 = 41persistent cache hit
RocksDb calls this
PERSISTENT_CACHE_HIT.PersistentCacheMiss = 42persistent cache miss
RocksDb calls this
PERSISTENT_CACHE_MISS.PrefetchBytes = 228Number of bytes prefetched during user initiated scan
RocksDb calls this
PREFETCH_BYTES.PrefetchBytesUseful = 229Number of prefetched bytes that were actually useful during user initiated scan
RocksDb calls this
PREFETCH_BYTES_USEFUL.PrefetchHits = 230Number of FS reads avoided due to prefetching during user initiated scan
RocksDb calls this
PREFETCH_HITS.PrefetchMemoryBytesGranted = 245IODispatcher memory limiting statistics # of bytes granted to prefetch requests
RocksDb calls this
PREFETCH_MEMORY_BYTES_GRANTED.PrefetchMemoryBytesReleased = 246of bytes released from prefetch memory
RocksDb calls this
PREFETCH_MEMORY_BYTES_RELEASED.PrefetchMemoryRequestsBlocked = 247of prefetch requests that were blocked waiting for memory
RocksDb calls this
PREFETCH_MEMORY_REQUESTS_BLOCKED.RateLimiterBytesRead = 125Bytes granted by the rate limiter for read requests.
RocksDb calls this
RATE_LIMITER_BYTES_READ.RateLimiterBytesWrite = 126Bytes granted by the rate limiter for write requests.
RocksDb calls this
RATE_LIMITER_BYTES_WRITE.RateLimiterDelayedRequestsRead = 129Number of read requests that waited for a future rate limiter refill.
RocksDb calls this
RATE_LIMITER_DELAYED_REQUESTS_READ.RateLimiterDelayedRequestsWrite = 130Number of write requests that waited for a future rate limiter refill.
RocksDb calls this
RATE_LIMITER_DELAYED_REQUESTS_WRITE.RateLimiterRequestsRead = 127Number of read requests granted by the rate limiter.
RocksDb calls this
RATE_LIMITER_REQUESTS_READ.RateLimiterRequestsWrite = 128Number of write requests granted by the rate limiter.
RocksDb calls this
RATE_LIMITER_REQUESTS_WRITE.RateLimiterTotalWaitMicrosRead = 131Total time read requests spent waiting for rate limiter refills.
RocksDb calls this
RATE_LIMITER_TOTAL_WAIT_MICROS_READ.RateLimiterTotalWaitMicrosWrite = 132Total time write requests spent waiting for rate limiter refills.
RocksDb calls this
RATE_LIMITER_TOTAL_WAIT_MICROS_WRITE.ReadAmpEstimateUsefulBytes = 122Read 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 = 123Total size of loaded data blocks.
RocksDb calls this
READ_AMP_TOTAL_READ_BYTES.ReadAsyncMicros = 218Time spent in the ReadAsync file system call
RocksDb calls this
READ_ASYNC_MICROS.ReadPathRangeTombstonesDiscarded = 249of 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 = 248of range tombstones inserted by read-path conversion from contiguous point tombstones
RocksDb calls this
READ_PATH_RANGE_TOMBSTONES_INSERTED.ReadaheadTrimmed = 224Number of times readahead is trimmed during scans when ReadOptions.auto_readahead_size is set.
RocksDb calls this
READAHEAD_TRIMMED.RemoteCompactReadBytes = 188Remote compaction read/write statistics
RocksDb calls this
REMOTE_COMPACT_READ_BYTES.RemoteCompactResumedBytes = 190Bytes of output files successfully resumed during compaction
RocksDb calls this
REMOTE_COMPACT_RESUMED_BYTES.RemoteCompactWriteBytes = 189RocksDb's
REMOTE_COMPACT_WRITE_BYTES.RowCacheHit = 120Row cache.
RocksDb calls this
ROW_CACHE_HIT.RowCacheMiss = 121RocksDb's
ROW_CACHE_MISS.SecondaryCacheDataHits = 30RocksDb's
SECONDARY_CACHE_DATA_HITS.SecondaryCacheFilterHits = 28Fine grained secondary cache stats
RocksDb calls this
SECONDARY_CACHE_FILTER_HITS.SecondaryCacheHits = 27Secondary cache statistics
RocksDb calls this
SECONDARY_CACHE_HITS.SecondaryCacheIndexHits = 29RocksDb's
SECONDARY_CACHE_INDEX_HITS.SimBlockCacheHit = 43total simulation block cache hits
RocksDb calls this
SIM_BLOCK_CACHE_HIT.SimBlockCacheMiss = 44total simulation block cache misses
RocksDb calls this
SIM_BLOCK_CACHE_MISS.Footer corruption detected when opening an SST file for reading
RocksDb calls this
SST_FOOTER_CORRUPTION_COUNT.SstUserDefinedIndexLoadFailCount = 235Failure to load the UDI during SST table open
RocksDb calls this
SST_USER_DEFINED_INDEX_LOAD_FAIL_COUNT.StallMicros = 76Writer has to wait for compaction or flush to finish.
RocksDb calls this
STALL_MICROS.TableOpenPrefetchTailHit = 221Number of lookup into the prefetched tail (see
TABLE_OPEN_PREFETCH_TAIL_READ_BYTES) that finds its data for table openRocksDb calls this
TABLE_OPEN_PREFETCH_TAIL_HIT.TableOpenPrefetchTailMiss = 220Number of lookup into the prefetched tail (see
TABLE_OPEN_PREFETCH_TAIL_READ_BYTES) that can't find its data for table openRocksDb calls this
TABLE_OPEN_PREFETCH_TAIL_MISS.TimestampFilterTableChecked = 222Statistics on the filtering by user-defined timestamps # of times timestamps are checked on accessing the table
RocksDb calls this
TIMESTAMP_FILTER_TABLE_CHECKED.TimestampFilterTableFiltered = 223of times timestamps can successfully help skip the table access
RocksDb calls this
TIMESTAMP_FILTER_TABLE_FILTERED.TxnDuplicateKeyOverhead = 171of times we checked a batch for duplicate keys.
RocksDb calls this
TXN_DUPLICATE_KEY_OVERHEAD.TxnGetTryAgain = 173of times ::Get returned TryAgain due to expired snapshot seq
RocksDb calls this
TXN_GET_TRY_AGAIN.TxnOldCommitMapMutexOverhead = 170of times old_commit_map_mutex_ is acquired in the fast path.
RocksDb calls this
TXN_OLD_COMMIT_MAP_MUTEX_OVERHEAD.TxnPrepareMutexOverhead = 169These 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 = 172of times snapshot_mutex_ is acquired in the fast path.
RocksDb calls this
TXN_SNAPSHOT_MUTEX_OVERHEAD.VerifyChecksumReadBytes = 185Bytes read by
VerifyChecksum()andVerifyFileChecksums()APIs.RocksDb calls this
VERIFY_CHECKSUM_READ_BYTES.WalFileBytes = 85Number of bytes written to WAL Number of WAL rotations that consumed an async precreated WAL.
RocksDb calls this
WAL_FILE_BYTES.WalFileSynced = 84Number of times WAL sync is done
RocksDb calls this
WAL_FILE_SYNCED.WalPrecreateFailed = 90Number of async WAL precreation attempts that failed.
RocksDb calls this
WAL_PRECREATE_FAILED.WalPrecreateHit = 86RocksDb's
WAL_PRECREATE_HIT.WalPrecreateMiss = 87Number of WAL rotations that found no async precreated WAL to consume.
RocksDb calls this
WAL_PRECREATE_MISS.WalPrecreateWaitMicros = 89Total foreground wait time for in-flight WAL precreation.
RocksDb calls this
WAL_PRECREATE_WAIT_MICROS.WalPrecreateWaited = 88Number of WAL rotations that waited for an in-flight WAL precreation.
RocksDb calls this
WAL_PRECREATE_WAITED.WarmFileReadBytes = 192RocksDb's
WARM_FILE_READ_BYTES.WarmFileReadCount = 197RocksDb's
WARM_FILE_READ_COUNT.WriteDoneByOther = 92Equivalent to writes done for others
RocksDb calls this
WRITE_DONE_BY_OTHER.WriteDoneBySelf = 91Writes 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 = 93Number 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.