Enum Histogram
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
A distribution collected by the statistics subsystem.
public enum Histogram
Fields
AsyncPrefetchAbortMicros = 61Wait time for aborting async read in FilePrefetchBuffer destructor
RocksDb calls this
ASYNC_PREFETCH_ABORT_MICROS.AsyncReadBytes = 57Stats related to asynchronous read requests.
RocksDb calls this
ASYNC_READ_BYTES.BlobDbBlobFileReadMicros = 46Blob file read latency.
RocksDb calls this
BLOB_DB_BLOB_FILE_READ_MICROS.BlobDbBlobFileSyncMicros = 47Blob file sync latency.
RocksDb calls this
BLOB_DB_BLOB_FILE_SYNC_MICROS.BlobDbBlobFileWriteMicros = 45Blob file write latency.
RocksDb calls this
BLOB_DB_BLOB_FILE_WRITE_MICROS.BlobDbCompressionMicros = 48BlobDB compression time.
RocksDb calls this
BLOB_DB_COMPRESSION_MICROS.BlobDbDecompressionMicros = 49BlobDB decompression time.
RocksDb calls this
BLOB_DB_DECOMPRESSION_MICROS.BlobDbGetMicros = 40BlobDB Get latency. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_GET_MICROS.BlobDbKeySize = 37BlobDB specific stats Size of keys written to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_KEY_SIZE.BlobDbMultigetMicros = 41BlobDB MultiGet latency. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_MULTIGET_MICROS.BlobDbNextMicros = 43BlobDB Next latency. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_NEXT_MICROS.BlobDbPrevMicros = 44BlobDB Prev latency. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_PREV_MICROS.BlobDbSeekMicros = 42BlobDB Seek/SeekToFirst/SeekToLast/SeekForPrev latency. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_SEEK_MICROS.BlobDbValueSize = 38Size of values written to BlobDB. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_VALUE_SIZE.BlobDbWriteMicros = 39BlobDB Put/PutWithTTL/Write latency. Only applicable to legacy BlobDB.
RocksDb calls this
BLOB_DB_WRITE_MICROS.BlockKeyDistributionCv = 70Coefficient of variation of key gaps in blocks, scaled by 10000 (e.g., CV of 0.4532 is recorded as 4532). Currently only used by index blocks for uniform key distribution tracking.
RocksDb calls this
BLOCK_KEY_DISTRIBUTION_CV.BytesPerMultiget = 33RocksDb's
BYTES_PER_MULTIGET.BytesPerRead = 31Value size distribution in each operation
RocksDb calls this
BYTES_PER_READ.BytesPerWrite = 32RocksDb's
BYTES_PER_WRITE.CompactionCpuTime = 3RocksDb's
COMPACTION_CPU_TIME.CompactionOutfileSyncMicros = 6RocksDb's
COMPACTION_OUTFILE_SYNC_MICROS.CompactionPrefetchBytes = 59Number of bytes for RocksDB's prefetching (as opposed to file system's prefetch) on SST file during compaction read
RocksDb calls this
COMPACTION_PREFETCH_BYTES.CompactionTime = 2RocksDb's
COMPACTION_TIME.CompressionTimesNanos = 34RocksDb's
COMPRESSION_TIMES_NANOS.DbGet = 0RocksDb's
DB_GET.DbMultiget = 10RocksDb's
DB_MULTIGET.DbSeek = 15RocksDb's
DB_SEEK.DbWrite = 1RocksDb's
DB_WRITE.DecompressionTimesNanos = 35RocksDb's
DECOMPRESSION_TIMES_NANOS.ErrorHandlerAutoresumeRetryCount = 56Error handler statistics
RocksDb calls this
ERROR_HANDLER_AUTORESUME_RETRY_COUNT.FileReadCompactionMicros = 19RocksDb's
FILE_READ_COMPACTION_MICROS.FileReadDbIteratorMicros = 23RocksDb's
FILE_READ_DB_ITERATOR_MICROS.FileReadDbOpenMicros = 20RocksDb's
FILE_READ_DB_OPEN_MICROS.FileReadFlushMicros = 18Time spent in reading SST table (currently only block-based table) or blob file corresponding to
Env::IOActivityRocksDb calls this
FILE_READ_FLUSH_MICROS.FileReadGetMicros = 21The following
FILE_READ_*require stats level greater thanStatsLevel::kExceptDetailedTimersRocksDb calls this
FILE_READ_GET_MICROS.FileReadMultigetMicros = 22RocksDb's
FILE_READ_MULTIGET_MICROS.FileReadVerifyDbChecksumMicros = 24RocksDb's
FILE_READ_VERIFY_DB_CHECKSUM_MICROS.FileReadVerifyFileChecksumsMicros = 25RocksDb's
FILE_READ_VERIFY_FILE_CHECKSUMS_MICROS.FileWriteCompactionMicros = 28RocksDb's
FILE_WRITE_COMPACTION_MICROS.FileWriteDbOpenMicros = 29RocksDb's
FILE_WRITE_DB_OPEN_MICROS.FileWriteFlushMicros = 27Time spent in writing SST table (currently only block-based table) or blob file for flush, compaction or db open
RocksDb calls this
FILE_WRITE_FLUSH_MICROS.FlushMemtableMemoryBytes = 75Distribution of total memtable memory usage at flush start.
RocksDb calls this
FLUSH_MEMTABLE_MEMORY_BYTES.FlushMemtableTotalDataSize = 76Distribution of total memtable data size at flush start.
RocksDb calls this
FLUSH_MEMTABLE_TOTAL_DATA_SIZE.FlushTime = 50Time spent flushing memtable to disk
RocksDb calls this
FLUSH_TIME.FlushWriteBufferFullMemtableMemoryBytes = 77Distribution of total memtable memory usage for write-buffer-full flushes.
RocksDb calls this
FLUSH_WRITE_BUFFER_FULL_MEMTABLE_MEMORY_BYTES.FlushWriteBufferManagerMemtableMemoryBytes = 78Distribution of total memtable memory usage for WBM-triggered flushes.
RocksDb calls this
FLUSH_WRITE_BUFFER_MANAGER_MEMTABLE_MEMORY_BYTES.IngestExternalFilePrepareTime = 71Time (microseconds) in the "prepare" phase of an IngestExternalFile(s) call (validation and reading/linking the files; does not block writes). One sample per successful call; requires stats level > kExceptTimers.
RocksDb calls this
INGEST_EXTERNAL_FILE_PREPARE_TIME.IngestExternalFileRunTime = 72Time (microseconds) in the "run" phase of an IngestExternalFile(s) call (work under the DB mutex while writes are blocked). One sample per successful call; requires stats level > kExceptTimers.
RocksDb calls this
INGEST_EXTERNAL_FILE_RUN_TIME.IoDispatcherAsyncReadObservedCompletionMicros = 67Time (microseconds) from IODispatcher async read submission until completion callback execution.
RocksDb calls this
IO_DISPATCHER_ASYNC_READ_OBSERVED_COMPLETION_MICROS.IoDispatcherAsyncReadPollWaitMicros = 68Time (microseconds) IODispatcher spends waiting in FileSystem::Poll().
RocksDb calls this
IO_DISPATCHER_ASYNC_READ_POLL_WAIT_MICROS.IoDispatcherAsyncReadPrefetchLeadMicros = 69Time (microseconds) from async read submission until the block consumer starts polling for completion.
RocksDb calls this
IO_DISPATCHER_ASYNC_READ_PREFETCH_LEAD_MICROS.ManifestFileSyncMicros = 8RocksDb's
MANIFEST_FILE_SYNC_MICROS.MultigetIoBatchSize = 52Number of IOs issued in parallel in a MultiGet batch
RocksDb calls this
MULTIGET_IO_BATCH_SIZE.MultiscanBlocksPerPrepare = 66Distribution of blocks prefetched per MultiScan Prepare()
RocksDb calls this
MULTISCAN_BLOCKS_PER_PREPARE.MultiscanPrepareIterators = 64MultiScan Prefill iterator Prepare cost
RocksDb calls this
MULTISCAN_PREPARE_ITERATORS.MultiscanPrepareMicros = 65Total Prepare() latency for MultiScan
RocksDb calls this
MULTISCAN_PREPARE_MICROS.NumFilesInSingleCompaction = 14RocksDb's
NUM_FILES_IN_SINGLE_COMPACTION.NumIndexAndFilterBlocksReadPerLevel = 53MultiGet stats logged per level Num of index and filter blocks read from file system per level.
RocksDb calls this
NUM_INDEX_AND_FILTER_BLOCKS_READ_PER_LEVEL.NumLevelReadPerMultiget = 55Number of levels requiring IO for MultiGet
RocksDb calls this
NUM_LEVEL_READ_PER_MULTIGET.NumOpPerTransaction = 63Number of operations per transaction.
RocksDb calls this
NUM_OP_PER_TRANSACTION.NumSstReadPerLevel = 54Num of sst files read from file system per level.
RocksDb calls this
NUM_SST_READ_PER_LEVEL.NumSubcompactionsScheduled = 30The number of subcompactions actually scheduled during a compaction
RocksDb calls this
NUM_SUBCOMPACTIONS_SCHEDULED.OpenAndCompactDbOpenMicros = 79Time spent opening the secondary DB inside DB::OpenAndCompact().
RocksDb calls this
OPEN_AND_COMPACT_DB_OPEN_MICROS.PollWaitMicros = 58RocksDb's
POLL_WAIT_MICROS.PrefetchedBytesDiscarded = 60Number of prefetched bytes discarded by RocksDB.
RocksDb calls this
PREFETCHED_BYTES_DISCARDED.RateLimiterWaitMicrosRead = 73Time read requests spent waiting for rate limiter refills.
RocksDb calls this
RATE_LIMITER_WAIT_MICROS_READ.RateLimiterWaitMicrosWrite = 74Time write requests spent waiting for rate limiter refills.
RocksDb calls this
RATE_LIMITER_WAIT_MICROS_WRITE.ReadBlockCompactionMicros = 11RocksDb's
READ_BLOCK_COMPACTION_MICROS.ReadBlockGetMicros = 12RocksDb's
READ_BLOCK_GET_MICROS.ReadNumMergeOperands = 36Number of merge operands passed to the merge operator in user read requests.
RocksDb calls this
READ_NUM_MERGE_OPERANDS.SstBatchSize = 51RocksDb's
SST_BATCH_SIZE.SstReadMicros = 17Time spent in reading block-based or plain SST table
RocksDb calls this
SST_READ_MICROS.SstWriteMicros = 26Time spent in writing SST files
RocksDb calls this
SST_WRITE_MICROS.SubcompactionSetupTime = 4RocksDb's
SUBCOMPACTION_SETUP_TIME.TableOpenIoMicros = 9TIME SPENT IN IO DURING TABLE OPEN
RocksDb calls this
TABLE_OPEN_IO_MICROS.TableOpenPrefetchTailReadBytes = 62Number of bytes for RocksDB's prefetching contents (as opposed to file system's prefetch) from the end of SST table during block based table open
RocksDb calls this
TABLE_OPEN_PREFETCH_TAIL_READ_BYTES.TableSyncMicros = 5RocksDb's
TABLE_SYNC_MICROS.WalFileSyncMicros = 7RocksDb's
WAL_FILE_SYNC_MICROS.WriteRawBlockMicros = 13RocksDb's
WRITE_RAW_BLOCK_MICROS.WriteStall = 16RocksDb's
WRITE_STALL.
Remarks
Pass one to GetHistogramData(Histogram).
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.