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§

source§

impl Histogram

source

pub const fn name(&self) -> &'static str

The corresponding rocksdb string identifier for this variant

source

pub fn iter() -> Iter<'static, Histogram>

Trait Implementations§

source§

impl Clone for Histogram

source§

fn clone(&self) -> Histogram

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Histogram

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Histogram

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromStr for Histogram

§

type Err = NameParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl PartialEq for Histogram

source§

fn eq(&self, other: &Histogram) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Histogram

source§

impl Eq for Histogram

source§

impl StructuralPartialEq for Histogram

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.