Enum rocksdb::statistics::Histogram
source · #[repr(u32)]pub enum Histogram {
Show 60 variants
DbGet = 0,
DbWrite = 1,
CompactionTime = 2,
CompactionCpuTime = 3,
SubcompactionSetupTime = 4,
TableSyncMicros = 5,
CompactionOutfileSyncMicros = 6,
WalFileSyncMicros = 7,
ManifestFileSyncMicros = 8,
TableOpenIoMicros = 9,
DbMultiget = 10,
ReadBlockCompactionMicros = 11,
ReadBlockGetMicros = 12,
WriteRawBlockMicros = 13,
NumFilesInSingleCompaction = 14,
DbSeek = 15,
WriteStall = 16,
SstReadMicros = 17,
FileReadFlushMicros = 18,
FileReadCompactionMicros = 19,
FileReadDbOpenMicros = 20,
FileReadGetMicros = 21,
FileReadMultigetMicros = 22,
FileReadDbIteratorMicros = 23,
FileReadVerifyDbChecksumMicros = 24,
FileReadVerifyFileChecksumsMicros = 25,
NumSubcompactionsScheduled = 26,
BytesPerRead = 27,
BytesPerWrite = 28,
BytesPerMultiget = 29,
BytesCompressed = 30,
BytesDecompressed = 31,
CompressionTimesNanos = 32,
DecompressionTimesNanos = 33,
ReadNumMergeOperands = 34,
BlobDbKeySize = 35,
BlobDbValueSize = 36,
BlobDbWriteMicros = 37,
BlobDbGetMicros = 38,
BlobDbMultigetMicros = 39,
BlobDbSeekMicros = 40,
BlobDbNextMicros = 41,
BlobDbPrevMicros = 42,
BlobDbBlobFileWriteMicros = 43,
BlobDbBlobFileReadMicros = 44,
BlobDbBlobFileSyncMicros = 45,
BlobDbCompressionMicros = 46,
BlobDbDecompressionMicros = 47,
FlushTime = 48,
SstBatchSize = 49,
NumIndexAndFilterBlocksReadPerLevel = 50,
NumSstReadPerLevel = 51,
ErrorHandlerAutoresumeRetryCount = 52,
AsyncReadBytes = 53,
PollWaitMicros = 54,
PrefetchedBytesDiscarded = 55,
MultigetIoBatchSize = 56,
NumLevelReadPerMultiget = 57,
AsyncPrefetchAbortMicros = 58,
TableOpenPrefetchTailReadBytes = 59,
}
Variants§
DbGet = 0
DbWrite = 1
CompactionTime = 2
CompactionCpuTime = 3
SubcompactionSetupTime = 4
TableSyncMicros = 5
CompactionOutfileSyncMicros = 6
WalFileSyncMicros = 7
ManifestFileSyncMicros = 8
TableOpenIoMicros = 9
Time spent in IO during table open
DbMultiget = 10
ReadBlockCompactionMicros = 11
ReadBlockGetMicros = 12
WriteRawBlockMicros = 13
NumFilesInSingleCompaction = 14
DbSeek = 15
WriteStall = 16
SstReadMicros = 17
Time spent in reading block-based or plain SST table
FileReadFlushMicros = 18
Time spent in reading SST table (currently only block-based table) or blob
file corresponding to Env::IOActivity
FileReadCompactionMicros = 19
FileReadDbOpenMicros = 20
FileReadGetMicros = 21
The following FILE_READ_*
require stats level greater than
StatsLevel::kExceptDetailedTimers
FileReadMultigetMicros = 22
FileReadDbIteratorMicros = 23
FileReadVerifyDbChecksumMicros = 24
FileReadVerifyFileChecksumsMicros = 25
NumSubcompactionsScheduled = 26
The number of subcompactions actually scheduled during a compaction
BytesPerRead = 27
Value size distribution in each operation
BytesPerWrite = 28
BytesPerMultiget = 29
BytesCompressed = 30
BytesDecompressed = 31
DEPRECATED / unused (see BytesCompressed{From,To})
CompressionTimesNanos = 32
DEPRECATED / unused (see BytesDecompressed{From,To})
DecompressionTimesNanos = 33
ReadNumMergeOperands = 34
Number of merge operands passed to the merge operator in user read requests.
BlobDbKeySize = 35
BlobDB specific stats Size of keys written to BlobDB. Only applicable to legacy BlobDB.
BlobDbValueSize = 36
Size of values written to BlobDB. Only applicable to legacy BlobDB.
BlobDbWriteMicros = 37
BlobDB Put/PutWithTTL/PutUntil/Write latency. Only applicable to legacy BlobDB.
BlobDbGetMicros = 38
BlobDB Get latency. Only applicable to legacy BlobDB.
BlobDbMultigetMicros = 39
BlobDB MultiGet latency. Only applicable to legacy BlobDB.
BlobDbSeekMicros = 40
BlobDB Seek/SeekToFirst/SeekToLast/SeekForPrev latency. Only applicable to legacy BlobDB.
BlobDbNextMicros = 41
BlobDB Next latency. Only applicable to legacy BlobDB.
BlobDbPrevMicros = 42
BlobDB Prev latency. Only applicable to legacy BlobDB.
BlobDbBlobFileWriteMicros = 43
Blob file write latency.
BlobDbBlobFileReadMicros = 44
Blob file read latency.
BlobDbBlobFileSyncMicros = 45
Blob file sync latency.
BlobDbCompressionMicros = 46
BlobDB compression time.
BlobDbDecompressionMicros = 47
BlobDB decompression time.
FlushTime = 48
Time spent flushing memtable to disk
SstBatchSize = 49
NumIndexAndFilterBlocksReadPerLevel = 50
MultiGet stats logged per level Num of index and filter blocks read from file system per level.
NumSstReadPerLevel = 51
Num of sst files read from file system per level.
ErrorHandlerAutoresumeRetryCount = 52
Error handler statistics
AsyncReadBytes = 53
Stats related to asynchronous read requests.
PollWaitMicros = 54
PrefetchedBytesDiscarded = 55
Number of prefetched bytes discarded by RocksDB.
MultigetIoBatchSize = 56
Number of IOs issued in parallel in a MultiGet batch
NumLevelReadPerMultiget = 57
Number of levels requiring IO for MultiGet
AsyncPrefetchAbortMicros = 58
Wait time for aborting async read in FilePrefetchBuffer destructor
TableOpenPrefetchTailReadBytes = 59
Number of bytes read for RocksDB’s prefetching contents (as opposed to file system’s prefetch) from the end of SST table during block based table open
Implementations§
Trait Implementations§
impl Copy for Histogram
impl Eq for Histogram
impl StructuralPartialEq for Histogram
Auto Trait Implementations§
impl Freeze for Histogram
impl RefUnwindSafe for Histogram
impl Send for Histogram
impl Sync for Histogram
impl Unpin for Histogram
impl UnwindSafe for Histogram
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)