Package org.rocksdb

Enum Class HistogramType

java.lang.Object
java.lang.Enum<HistogramType>
org.rocksdb.HistogramType
All Implemented Interfaces:
Serializable, Comparable<HistogramType>, Constable

public enum HistogramType extends Enum<HistogramType>
  • Enum Constant Details

    • DB_GET

      public static final HistogramType DB_GET
    • DB_WRITE

      public static final HistogramType DB_WRITE
    • COMPACTION_TIME

      public static final HistogramType COMPACTION_TIME
    • COMPACTION_CPU_TIME

      public static final HistogramType COMPACTION_CPU_TIME
    • SUBCOMPACTION_SETUP_TIME

      public static final HistogramType SUBCOMPACTION_SETUP_TIME
    • TABLE_SYNC_MICROS

      public static final HistogramType TABLE_SYNC_MICROS
    • COMPACTION_OUTFILE_SYNC_MICROS

      public static final HistogramType COMPACTION_OUTFILE_SYNC_MICROS
    • WAL_FILE_SYNC_MICROS

      public static final HistogramType WAL_FILE_SYNC_MICROS
    • MANIFEST_FILE_SYNC_MICROS

      public static final HistogramType MANIFEST_FILE_SYNC_MICROS
    • TABLE_OPEN_IO_MICROS

      public static final HistogramType TABLE_OPEN_IO_MICROS
      TIME SPENT IN IO DURING TABLE OPEN.
    • DB_MULTIGET

      public static final HistogramType DB_MULTIGET
    • READ_BLOCK_COMPACTION_MICROS

      public static final HistogramType READ_BLOCK_COMPACTION_MICROS
    • READ_BLOCK_GET_MICROS

      public static final HistogramType READ_BLOCK_GET_MICROS
    • WRITE_RAW_BLOCK_MICROS

      public static final HistogramType WRITE_RAW_BLOCK_MICROS
    • NUM_FILES_IN_SINGLE_COMPACTION

      public static final HistogramType NUM_FILES_IN_SINGLE_COMPACTION
    • DB_SEEK

      public static final HistogramType DB_SEEK
    • WRITE_STALL

      public static final HistogramType WRITE_STALL
    • SST_READ_MICROS

      public static final HistogramType SST_READ_MICROS
    • FILE_READ_FLUSH_MICROS

      public static final HistogramType FILE_READ_FLUSH_MICROS
    • FILE_READ_COMPACTION_MICROS

      public static final HistogramType FILE_READ_COMPACTION_MICROS
    • FILE_READ_DB_OPEN_MICROS

      public static final HistogramType FILE_READ_DB_OPEN_MICROS
    • FILE_READ_GET_MICROS

      public static final HistogramType FILE_READ_GET_MICROS
    • FILE_READ_MULTIGET_MICROS

      public static final HistogramType FILE_READ_MULTIGET_MICROS
    • FILE_READ_DB_ITERATOR_MICROS

      public static final HistogramType FILE_READ_DB_ITERATOR_MICROS
    • FILE_READ_VERIFY_DB_CHECKSUM_MICROS

      public static final HistogramType FILE_READ_VERIFY_DB_CHECKSUM_MICROS
    • FILE_READ_VERIFY_FILE_CHECKSUMS_MICROS

      public static final HistogramType FILE_READ_VERIFY_FILE_CHECKSUMS_MICROS
    • SST_WRITE_MICROS

      public static final HistogramType SST_WRITE_MICROS
    • FILE_WRITE_FLUSH_MICROS

      public static final HistogramType FILE_WRITE_FLUSH_MICROS
    • FILE_WRITE_COMPACTION_MICROS

      public static final HistogramType FILE_WRITE_COMPACTION_MICROS
    • FILE_WRITE_DB_OPEN_MICROS

      public static final HistogramType FILE_WRITE_DB_OPEN_MICROS
    • NUM_SUBCOMPACTIONS_SCHEDULED

      public static final HistogramType NUM_SUBCOMPACTIONS_SCHEDULED
      The number of subcompactions actually scheduled during a compaction.
    • BYTES_PER_READ

      public static final HistogramType BYTES_PER_READ
      Value size distribution in each operation.
    • BYTES_PER_WRITE

      public static final HistogramType BYTES_PER_WRITE
    • BYTES_PER_MULTIGET

      public static final HistogramType BYTES_PER_MULTIGET
    • COMPRESSION_TIMES_NANOS

      public static final HistogramType COMPRESSION_TIMES_NANOS
    • DECOMPRESSION_TIMES_NANOS

      public static final HistogramType DECOMPRESSION_TIMES_NANOS
    • READ_NUM_MERGE_OPERANDS

      public static final HistogramType READ_NUM_MERGE_OPERANDS
    • BLOB_DB_KEY_SIZE

      public static final HistogramType BLOB_DB_KEY_SIZE
      Size of keys written to BlobDB.
    • BLOB_DB_VALUE_SIZE

      public static final HistogramType BLOB_DB_VALUE_SIZE
      Size of values written to BlobDB.
    • BLOB_DB_WRITE_MICROS

      public static final HistogramType BLOB_DB_WRITE_MICROS
      BlobDB Put/PutWithTTL/PutUntil/Write latency.
    • BLOB_DB_GET_MICROS

      public static final HistogramType BLOB_DB_GET_MICROS
      BlobDB Get lagency.
    • BLOB_DB_MULTIGET_MICROS

      public static final HistogramType BLOB_DB_MULTIGET_MICROS
      BlobDB MultiGet latency.
    • BLOB_DB_SEEK_MICROS

      public static final HistogramType BLOB_DB_SEEK_MICROS
      BlobDB Seek/SeekToFirst/SeekToLast/SeekForPrev latency.
    • BLOB_DB_NEXT_MICROS

      public static final HistogramType BLOB_DB_NEXT_MICROS
      BlobDB Next latency.
    • BLOB_DB_PREV_MICROS

      public static final HistogramType BLOB_DB_PREV_MICROS
      BlobDB Prev latency.
    • BLOB_DB_BLOB_FILE_WRITE_MICROS

      public static final HistogramType BLOB_DB_BLOB_FILE_WRITE_MICROS
      Blob file write latency.
    • BLOB_DB_BLOB_FILE_READ_MICROS

      public static final HistogramType BLOB_DB_BLOB_FILE_READ_MICROS
      Blob file read latency.
    • BLOB_DB_BLOB_FILE_SYNC_MICROS

      public static final HistogramType BLOB_DB_BLOB_FILE_SYNC_MICROS
      Blob file sync latency.
    • BLOB_DB_COMPRESSION_MICROS

      public static final HistogramType BLOB_DB_COMPRESSION_MICROS
      BlobDB compression time.
    • BLOB_DB_DECOMPRESSION_MICROS

      public static final HistogramType BLOB_DB_DECOMPRESSION_MICROS
      BlobDB decompression time.
    • FLUSH_TIME

      public static final HistogramType FLUSH_TIME
      Time spent flushing memtable to disk.
    • SST_BATCH_SIZE

      public static final HistogramType SST_BATCH_SIZE
      Number of MultiGet batch keys overlapping a file
    • MULTIGET_IO_BATCH_SIZE

      public static final HistogramType MULTIGET_IO_BATCH_SIZE
      Size of a single IO batch issued by MultiGet
    • NUM_INDEX_AND_FILTER_BLOCKS_READ_PER_LEVEL

      public static final HistogramType NUM_INDEX_AND_FILTER_BLOCKS_READ_PER_LEVEL
      Num of Index and Filter blocks read from file system per level in MultiGet request
    • NUM_SST_READ_PER_LEVEL

      public static final HistogramType NUM_SST_READ_PER_LEVEL
      Num of SST files read from file system per level in MultiGet request.
    • NUM_LEVEL_READ_PER_MULTIGET

      public static final HistogramType NUM_LEVEL_READ_PER_MULTIGET
      Num of LSM levels read from file system per MultiGet request.
    • ERROR_HANDLER_AUTORESUME_RETRY_COUNT

      public static final HistogramType ERROR_HANDLER_AUTORESUME_RETRY_COUNT
      The number of retry in auto resume
    • ASYNC_READ_BYTES

      public static final HistogramType ASYNC_READ_BYTES
    • POLL_WAIT_MICROS

      public static final HistogramType POLL_WAIT_MICROS
    • PREFETCHED_BYTES_DISCARDED

      public static final HistogramType PREFETCHED_BYTES_DISCARDED
      Number of prefetched bytes discarded by RocksDB.
    • ASYNC_PREFETCH_ABORT_MICROS

      public static final HistogramType ASYNC_PREFETCH_ABORT_MICROS
      Wait time for aborting async read in FilePrefetchBuffer destructor
    • TABLE_OPEN_PREFETCH_TAIL_READ_BYTES

      public static final HistogramType TABLE_OPEN_PREFETCH_TAIL_READ_BYTES
      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
    • HISTOGRAM_ENUM_MAX

      public static final HistogramType HISTOGRAM_ENUM_MAX
  • Method Details

    • values

      public static HistogramType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HistogramType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public byte getValue()
      Returns the byte value of the enumerations value
      Returns:
      byte representation
    • getHistogramType

      public static HistogramType getHistogramType(byte value)
      Get Histogram type by byte value.
      Parameters:
      value - byte representation of HistogramType.
      Returns:
      HistogramType instance.
      Throws:
      IllegalArgumentException - if an invalid value is provided.