Package org.rocksdb

Enum Class TickerType

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

public enum TickerType extends Enum<TickerType>
The logical mapping of tickers defined in rocksdb::Tickers.

Java byte value mappings don't align 1:1 to the c++ values. c++ rocksdb::Tickers enumeration type is uint32_t and java org.rocksdb.TickerType is byte, this causes mapping issues when rocksdb::Tickers value is greater then 127 (0x7F) for jbyte jni interface as range greater is not available. Without breaking interface in minor versions, value mappings for org.rocksdb.TickerType leverage full byte range [-128 (-0x80), (0x7F)]. Newer tickers added should descend into negative values until TICKER_ENUM_MAX reaches -128 (-0x80).

  • Enum Constant Details

    • BLOCK_CACHE_MISS

      public static final TickerType BLOCK_CACHE_MISS
      total block cache misses REQUIRES: BLOCK_CACHE_MISS == BLOCK_CACHE_INDEX_MISS + BLOCK_CACHE_FILTER_MISS + BLOCK_CACHE_DATA_MISS;
    • BLOCK_CACHE_HIT

      public static final TickerType BLOCK_CACHE_HIT
      total block cache hit REQUIRES: BLOCK_CACHE_HIT == BLOCK_CACHE_INDEX_HIT + BLOCK_CACHE_FILTER_HIT + BLOCK_CACHE_DATA_HIT;
    • BLOCK_CACHE_ADD

      public static final TickerType BLOCK_CACHE_ADD
    • BLOCK_CACHE_ADD_FAILURES

      public static final TickerType BLOCK_CACHE_ADD_FAILURES
      # of failures when adding blocks to block cache.
    • BLOCK_CACHE_INDEX_MISS

      public static final TickerType BLOCK_CACHE_INDEX_MISS
      # of times cache miss when accessing index block from block cache.
    • BLOCK_CACHE_INDEX_HIT

      public static final TickerType BLOCK_CACHE_INDEX_HIT
      # of times cache hit when accessing index block from block cache.
    • BLOCK_CACHE_INDEX_ADD

      public static final TickerType BLOCK_CACHE_INDEX_ADD
      # of index blocks added to block cache.
    • BLOCK_CACHE_INDEX_BYTES_INSERT

      public static final TickerType BLOCK_CACHE_INDEX_BYTES_INSERT
      # of bytes of index blocks inserted into cache
    • BLOCK_CACHE_FILTER_MISS

      public static final TickerType BLOCK_CACHE_FILTER_MISS
      # of times cache miss when accessing filter block from block cache.
    • BLOCK_CACHE_FILTER_HIT

      public static final TickerType BLOCK_CACHE_FILTER_HIT
      # of times cache hit when accessing filter block from block cache.
    • BLOCK_CACHE_FILTER_ADD

      public static final TickerType BLOCK_CACHE_FILTER_ADD
      # of filter blocks added to block cache.
    • BLOCK_CACHE_FILTER_BYTES_INSERT

      public static final TickerType BLOCK_CACHE_FILTER_BYTES_INSERT
      # of bytes of bloom filter blocks inserted into cache
    • BLOCK_CACHE_DATA_MISS

      public static final TickerType BLOCK_CACHE_DATA_MISS
      # of times cache miss when accessing data block from block cache.
    • BLOCK_CACHE_DATA_HIT

      public static final TickerType BLOCK_CACHE_DATA_HIT
      # of times cache hit when accessing data block from block cache.
    • BLOCK_CACHE_DATA_ADD

      public static final TickerType BLOCK_CACHE_DATA_ADD
      # of data blocks added to block cache.
    • BLOCK_CACHE_DATA_BYTES_INSERT

      public static final TickerType BLOCK_CACHE_DATA_BYTES_INSERT
      # of bytes of data blocks inserted into cache
    • BLOCK_CACHE_BYTES_READ

      public static final TickerType BLOCK_CACHE_BYTES_READ
      # of bytes read from cache.
    • BLOCK_CACHE_BYTES_WRITE

      public static final TickerType BLOCK_CACHE_BYTES_WRITE
      # of bytes written into cache.
    • BLOCK_CACHE_COMPRESSION_DICT_MISS

      public static final TickerType BLOCK_CACHE_COMPRESSION_DICT_MISS
      Block cache related stats for Compression dictionaries
    • BLOCK_CACHE_COMPRESSION_DICT_HIT

      public static final TickerType BLOCK_CACHE_COMPRESSION_DICT_HIT
    • BLOCK_CACHE_COMPRESSION_DICT_ADD

      public static final TickerType BLOCK_CACHE_COMPRESSION_DICT_ADD
    • BLOCK_CACHE_COMPRESSION_DICT_BYTES_INSERT

      public static final TickerType BLOCK_CACHE_COMPRESSION_DICT_BYTES_INSERT
    • BLOCK_CACHE_ADD_REDUNDANT

      public static final TickerType BLOCK_CACHE_ADD_REDUNDANT
      Redundant additions to block cache
    • BLOCK_CACHE_INDEX_ADD_REDUNDANT

      public static final TickerType BLOCK_CACHE_INDEX_ADD_REDUNDANT
    • BLOCK_CACHE_FILTER_ADD_REDUNDANT

      public static final TickerType BLOCK_CACHE_FILTER_ADD_REDUNDANT
    • BLOCK_CACHE_DATA_ADD_REDUNDANT

      public static final TickerType BLOCK_CACHE_DATA_ADD_REDUNDANT
    • BLOCK_CACHE_COMPRESSION_DICT_ADD_REDUNDANT

      public static final TickerType BLOCK_CACHE_COMPRESSION_DICT_ADD_REDUNDANT
    • SECONDARY_CACHE_HITS

      public static final TickerType SECONDARY_CACHE_HITS
      Number of secondary cache hits
    • SECONDARY_CACHE_FILTER_HITS

      public static final TickerType SECONDARY_CACHE_FILTER_HITS
    • SECONDARY_CACHE_INDEX_HITS

      public static final TickerType SECONDARY_CACHE_INDEX_HITS
    • SECONDARY_CACHE_DATA_HITS

      public static final TickerType SECONDARY_CACHE_DATA_HITS
    • COMPRESSED_SECONDARY_CACHE_DUMMY_HITS

      public static final TickerType COMPRESSED_SECONDARY_CACHE_DUMMY_HITS
    • COMPRESSED_SECONDARY_CACHE_HITS

      public static final TickerType COMPRESSED_SECONDARY_CACHE_HITS
    • COMPRESSED_SECONDARY_CACHE_PROMOTIONS

      public static final TickerType COMPRESSED_SECONDARY_CACHE_PROMOTIONS
    • COMPRESSED_SECONDARY_CACHE_PROMOTION_SKIPS

      public static final TickerType COMPRESSED_SECONDARY_CACHE_PROMOTION_SKIPS
    • BLOOM_FILTER_USEFUL

      public static final TickerType BLOOM_FILTER_USEFUL
      # of times bloom filter has avoided file reads.
    • BLOOM_FILTER_FULL_POSITIVE

      public static final TickerType BLOOM_FILTER_FULL_POSITIVE
      # of times bloom FullFilter has not avoided the reads.
    • BLOOM_FILTER_FULL_TRUE_POSITIVE

      public static final TickerType BLOOM_FILTER_FULL_TRUE_POSITIVE
      # of times bloom FullFilter has not avoided the reads and data actually exist.
    • BLOOM_FILTER_PREFIX_CHECKED

      public static final TickerType BLOOM_FILTER_PREFIX_CHECKED
      Number of times bloom was checked before creating iterator on a file, and the number of times the check was useful in avoiding iterator creation (and thus likely IOPs).
    • BLOOM_FILTER_PREFIX_USEFUL

      public static final TickerType BLOOM_FILTER_PREFIX_USEFUL
    • BLOOM_FILTER_PREFIX_TRUE_POSITIVE

      public static final TickerType BLOOM_FILTER_PREFIX_TRUE_POSITIVE
    • PERSISTENT_CACHE_HIT

      public static final TickerType PERSISTENT_CACHE_HIT
      # persistent cache hit
    • PERSISTENT_CACHE_MISS

      public static final TickerType PERSISTENT_CACHE_MISS
      # persistent cache miss
    • SIM_BLOCK_CACHE_HIT

      public static final TickerType SIM_BLOCK_CACHE_HIT
      # total simulation block cache hits
    • SIM_BLOCK_CACHE_MISS

      public static final TickerType SIM_BLOCK_CACHE_MISS
      # total simulation block cache misses
    • MEMTABLE_HIT

      public static final TickerType MEMTABLE_HIT
      # of memtable hits.
    • MEMTABLE_MISS

      public static final TickerType MEMTABLE_MISS
      # of memtable misses.
    • GET_HIT_L0

      public static final TickerType GET_HIT_L0
      # of Get() queries served by L0
    • GET_HIT_L1

      public static final TickerType GET_HIT_L1
      # of Get() queries served by L1
    • GET_HIT_L2_AND_UP

      public static final TickerType GET_HIT_L2_AND_UP
      # of Get() queries served by L2 and up
    • COMPACTION_KEY_DROP_NEWER_ENTRY

      public static final TickerType COMPACTION_KEY_DROP_NEWER_ENTRY
      key was written with a newer value.
    • COMPACTION_KEY_DROP_OBSOLETE

      public static final TickerType COMPACTION_KEY_DROP_OBSOLETE
      Also includes keys dropped for range del. The key is obsolete.
    • COMPACTION_KEY_DROP_RANGE_DEL

      public static final TickerType COMPACTION_KEY_DROP_RANGE_DEL
      key was covered by a range tombstone.
    • COMPACTION_KEY_DROP_USER

      public static final TickerType COMPACTION_KEY_DROP_USER
      User compaction function has dropped the key.
    • COMPACTION_RANGE_DEL_DROP_OBSOLETE

      public static final TickerType COMPACTION_RANGE_DEL_DROP_OBSOLETE
      all keys in range were deleted.
    • COMPACTION_OPTIMIZED_DEL_DROP_OBSOLETE

      public static final TickerType COMPACTION_OPTIMIZED_DEL_DROP_OBSOLETE
      Deletions obsoleted before bottom level due to file gap optimization.
    • COMPACTION_CANCELLED

      public static final TickerType COMPACTION_CANCELLED
      Compactions cancelled to prevent ENOSPC
    • NUMBER_KEYS_WRITTEN

      public static final TickerType NUMBER_KEYS_WRITTEN
      Number of keys written to the database via the Put and Write call's.
    • NUMBER_KEYS_READ

      public static final TickerType NUMBER_KEYS_READ
      Number of Keys read.
    • NUMBER_KEYS_UPDATED

      public static final TickerType NUMBER_KEYS_UPDATED
      Number keys updated, if inplace update is enabled
    • BYTES_WRITTEN

      public static final TickerType BYTES_WRITTEN
      The number of uncompressed bytes issued by DB::Put(), DB::Delete(),\ DB::Merge(), and DB::Write().
    • BYTES_READ

      public static final TickerType BYTES_READ
      The 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.
    • NUMBER_DB_SEEK

      public static final TickerType NUMBER_DB_SEEK
      The number of calls to seek.
    • NUMBER_DB_NEXT

      public static final TickerType NUMBER_DB_NEXT
      The number of calls to next.
    • NUMBER_DB_PREV

      public static final TickerType NUMBER_DB_PREV
      The number of calls to prev.
    • NUMBER_DB_SEEK_FOUND

      public static final TickerType NUMBER_DB_SEEK_FOUND
      The number of calls to seek that returned data.
    • NUMBER_DB_NEXT_FOUND

      public static final TickerType NUMBER_DB_NEXT_FOUND
      The number of calls to next that returned data.
    • NUMBER_DB_PREV_FOUND

      public static final TickerType NUMBER_DB_PREV_FOUND
      The number of calls to prev that returned data.
    • ITER_BYTES_READ

      public static final TickerType ITER_BYTES_READ
      The number of uncompressed bytes read from an iterator. Includes size of key and value.
    • NUMBER_ITER_SKIP

      public static final TickerType NUMBER_ITER_SKIP
      Number of internal skipped during iteration
    • NUMBER_OF_RESEEKS_IN_ITERATION

      public static final TickerType NUMBER_OF_RESEEKS_IN_ITERATION
      Number of times we had to reseek inside an iteration to skip over large number of keys with same userkey.
    • NO_ITERATOR_CREATED

      public static final TickerType NO_ITERATOR_CREATED
      Number of iterators created.
    • NO_ITERATOR_DELETED

      public static final TickerType NO_ITERATOR_DELETED
      Number of iterators deleted.
    • NO_FILE_OPENS

      public static final TickerType NO_FILE_OPENS
    • NO_FILE_ERRORS

      public static final TickerType NO_FILE_ERRORS
    • STALL_MICROS

      public static final TickerType STALL_MICROS
      Writer has to wait for compaction or flush to finish.
    • DB_MUTEX_WAIT_MICROS

      public static final TickerType DB_MUTEX_WAIT_MICROS
      The wait time for db mutex. Disabled by default. To enable it set stats level to StatsLevel.ALL
    • NUMBER_MULTIGET_CALLS

      public static final TickerType NUMBER_MULTIGET_CALLS
      Number of MultiGet calls.
    • NUMBER_MULTIGET_KEYS_READ

      public static final TickerType NUMBER_MULTIGET_KEYS_READ
      Number of MultiGet keys read.
    • NUMBER_MULTIGET_BYTES_READ

      public static final TickerType NUMBER_MULTIGET_BYTES_READ
      Number of MultiGet bytes read.
    • NUMBER_MULTIGET_KEYS_FOUND

      public static final TickerType NUMBER_MULTIGET_KEYS_FOUND
      Number of MultiGet keys found (vs number requested)
    • NUMBER_MERGE_FAILURES

      public static final TickerType NUMBER_MERGE_FAILURES
    • GET_UPDATES_SINCE_CALLS

      public static final TickerType GET_UPDATES_SINCE_CALLS
      Record the number of calls to RocksDB.getUpdatesSince(long). Useful to keep track of transaction log iterator refreshes.
    • WAL_FILE_SYNCED

      public static final TickerType WAL_FILE_SYNCED
      Number of times WAL sync is done.
    • WAL_FILE_BYTES

      public static final TickerType WAL_FILE_BYTES
      Number of bytes written to WAL.
    • WRITE_DONE_BY_SELF

      public static final TickerType WRITE_DONE_BY_SELF
      Writes can be processed by requesting thread or by the thread at the head of the writers queue.
    • WRITE_DONE_BY_OTHER

      public static final TickerType WRITE_DONE_BY_OTHER
      Equivalent to writes done for others.
    • WRITE_WITH_WAL

      public static final TickerType WRITE_WITH_WAL
      Number of Write calls that request WAL.
    • COMPACT_READ_BYTES

      public static final TickerType COMPACT_READ_BYTES
      Bytes read during compaction.
    • COMPACT_WRITE_BYTES

      public static final TickerType COMPACT_WRITE_BYTES
      Bytes written during compaction.
    • FLUSH_WRITE_BYTES

      public static final TickerType FLUSH_WRITE_BYTES
      Bytes written during flush.
    • COMPACT_READ_BYTES_MARKED

      public static final TickerType COMPACT_READ_BYTES_MARKED
      Compaction read and write statistics broken down by CompactionReason
    • COMPACT_READ_BYTES_PERIODIC

      public static final TickerType COMPACT_READ_BYTES_PERIODIC
    • COMPACT_READ_BYTES_TTL

      public static final TickerType COMPACT_READ_BYTES_TTL
    • COMPACT_WRITE_BYTES_MARKED

      public static final TickerType COMPACT_WRITE_BYTES_MARKED
    • COMPACT_WRITE_BYTES_PERIODIC

      public static final TickerType COMPACT_WRITE_BYTES_PERIODIC
    • COMPACT_WRITE_BYTES_TTL

      public static final TickerType COMPACT_WRITE_BYTES_TTL
    • NUMBER_DIRECT_LOAD_TABLE_PROPERTIES

      public static final TickerType NUMBER_DIRECT_LOAD_TABLE_PROPERTIES
      Number of table's properties loaded directly from file, without creating table reader object.
    • NUMBER_SUPERVERSION_ACQUIRES

      public static final TickerType NUMBER_SUPERVERSION_ACQUIRES
    • NUMBER_SUPERVERSION_RELEASES

      public static final TickerType NUMBER_SUPERVERSION_RELEASES
    • NUMBER_SUPERVERSION_CLEANUPS

      public static final TickerType NUMBER_SUPERVERSION_CLEANUPS
    • NUMBER_BLOCK_COMPRESSED

      public static final TickerType NUMBER_BLOCK_COMPRESSED
      # of compressions/decompressions executed
    • NUMBER_BLOCK_DECOMPRESSED

      public static final TickerType NUMBER_BLOCK_DECOMPRESSED
    • BYTES_COMPRESSED_FROM

      public static final TickerType BYTES_COMPRESSED_FROM
    • BYTES_COMPRESSED_TO

      public static final TickerType BYTES_COMPRESSED_TO
    • BYTES_COMPRESSION_BYPASSED

      public static final TickerType BYTES_COMPRESSION_BYPASSED
    • BYTES_COMPRESSION_REJECTED

      public static final TickerType BYTES_COMPRESSION_REJECTED
    • NUMBER_BLOCK_COMPRESSION_BYPASSED

      public static final TickerType NUMBER_BLOCK_COMPRESSION_BYPASSED
    • NUMBER_BLOCK_COMPRESSION_REJECTED

      public static final TickerType NUMBER_BLOCK_COMPRESSION_REJECTED
    • BYTES_DECOMPRESSED_FROM

      public static final TickerType BYTES_DECOMPRESSED_FROM
    • BYTES_DECOMPRESSED_TO

      public static final TickerType BYTES_DECOMPRESSED_TO
    • MERGE_OPERATION_TOTAL_TIME

      public static final TickerType MERGE_OPERATION_TOTAL_TIME
    • FILTER_OPERATION_TOTAL_TIME

      public static final TickerType FILTER_OPERATION_TOTAL_TIME
    • COMPACTION_CPU_TOTAL_TIME

      public static final TickerType COMPACTION_CPU_TOTAL_TIME
    • ROW_CACHE_HIT

      public static final TickerType ROW_CACHE_HIT
      Row cache.
    • ROW_CACHE_MISS

      public static final TickerType ROW_CACHE_MISS
    • READ_AMP_ESTIMATE_USEFUL_BYTES

      public static final TickerType READ_AMP_ESTIMATE_USEFUL_BYTES
      Estimate of total bytes actually used.
    • READ_AMP_TOTAL_READ_BYTES

      public static final TickerType READ_AMP_TOTAL_READ_BYTES
      Total size of loaded data blocks.
    • NUMBER_RATE_LIMITER_DRAINS

      public static final TickerType NUMBER_RATE_LIMITER_DRAINS
      Number of refill intervals where rate limiter's bytes are fully consumed.
    • BLOB_DB_NUM_PUT

      public static final TickerType BLOB_DB_NUM_PUT
      BlobDB specific stats # of Put/PutTTL/PutUntil to BlobDB.
    • BLOB_DB_NUM_WRITE

      public static final TickerType BLOB_DB_NUM_WRITE
      # of Write to BlobDB.
    • BLOB_DB_NUM_GET

      public static final TickerType BLOB_DB_NUM_GET
      # of Get to BlobDB.
    • BLOB_DB_NUM_MULTIGET

      public static final TickerType BLOB_DB_NUM_MULTIGET
      # of MultiGet to BlobDB.
    • BLOB_DB_NUM_SEEK

      public static final TickerType BLOB_DB_NUM_SEEK
      # of Seek/SeekToFirst/SeekToLast/SeekForPrev to BlobDB iterator.
    • BLOB_DB_NUM_NEXT

      public static final TickerType BLOB_DB_NUM_NEXT
      # of Next to BlobDB iterator.
    • BLOB_DB_NUM_PREV

      public static final TickerType BLOB_DB_NUM_PREV
      # of Prev to BlobDB iterator.
    • BLOB_DB_NUM_KEYS_WRITTEN

      public static final TickerType BLOB_DB_NUM_KEYS_WRITTEN
      # of keys written to BlobDB.
    • BLOB_DB_NUM_KEYS_READ

      public static final TickerType BLOB_DB_NUM_KEYS_READ
      # of keys read from BlobDB.
    • BLOB_DB_BYTES_WRITTEN

      public static final TickerType BLOB_DB_BYTES_WRITTEN
      # of bytes (key + value) written to BlobDB.
    • BLOB_DB_BYTES_READ

      public static final TickerType BLOB_DB_BYTES_READ
      # of bytes (keys + value) read from BlobDB.
    • BLOB_DB_WRITE_INLINED

      public static final TickerType BLOB_DB_WRITE_INLINED
      # of keys written by BlobDB as non-TTL inlined value.
    • BLOB_DB_WRITE_INLINED_TTL

      public static final TickerType BLOB_DB_WRITE_INLINED_TTL
      # of keys written by BlobDB as TTL inlined value.
    • BLOB_DB_WRITE_BLOB

      public static final TickerType BLOB_DB_WRITE_BLOB
      # of keys written by BlobDB as non-TTL blob value.
    • BLOB_DB_WRITE_BLOB_TTL

      public static final TickerType BLOB_DB_WRITE_BLOB_TTL
      # of keys written by BlobDB as TTL blob value.
    • BLOB_DB_BLOB_FILE_BYTES_WRITTEN

      public static final TickerType BLOB_DB_BLOB_FILE_BYTES_WRITTEN
      # of bytes written to blob file.
    • BLOB_DB_BLOB_FILE_BYTES_READ

      public static final TickerType BLOB_DB_BLOB_FILE_BYTES_READ
      # of bytes read from blob file.
    • BLOB_DB_BLOB_FILE_SYNCED

      public static final TickerType BLOB_DB_BLOB_FILE_SYNCED
      # of times a blob files being synced.
    • BLOB_DB_BLOB_INDEX_EXPIRED_COUNT

      public static final TickerType BLOB_DB_BLOB_INDEX_EXPIRED_COUNT
      # of blob index evicted from base DB by BlobDB compaction filter because of expiration.
    • BLOB_DB_BLOB_INDEX_EXPIRED_SIZE

      public static final TickerType BLOB_DB_BLOB_INDEX_EXPIRED_SIZE
      Size of blob index evicted from base DB by BlobDB compaction filter because of expiration.
    • BLOB_DB_BLOB_INDEX_EVICTED_COUNT

      public static final TickerType BLOB_DB_BLOB_INDEX_EVICTED_COUNT
      # of blob index evicted from base DB by BlobDB compaction filter because of corresponding file deleted.
    • BLOB_DB_BLOB_INDEX_EVICTED_SIZE

      public static final TickerType BLOB_DB_BLOB_INDEX_EVICTED_SIZE
      Size of blob index evicted from base DB by BlobDB compaction filter because of corresponding file deleted.
    • BLOB_DB_GC_NUM_FILES

      public static final TickerType BLOB_DB_GC_NUM_FILES
      # of blob files being garbage collected.
    • BLOB_DB_GC_NUM_NEW_FILES

      public static final TickerType BLOB_DB_GC_NUM_NEW_FILES
      # of blob files generated by garbage collection.
    • BLOB_DB_GC_FAILURES

      public static final TickerType BLOB_DB_GC_FAILURES
      # of BlobDB garbage collection failures.
    • BLOB_DB_GC_NUM_KEYS_RELOCATED

      public static final TickerType BLOB_DB_GC_NUM_KEYS_RELOCATED
      # of keys relocated to new blob file by garbage collection.
    • BLOB_DB_GC_BYTES_RELOCATED

      public static final TickerType BLOB_DB_GC_BYTES_RELOCATED
      # of bytes relocated to new blob file by garbage collection.
    • BLOB_DB_FIFO_NUM_FILES_EVICTED

      public static final TickerType BLOB_DB_FIFO_NUM_FILES_EVICTED
      # of blob files evicted because of BlobDB is full.
    • BLOB_DB_FIFO_NUM_KEYS_EVICTED

      public static final TickerType BLOB_DB_FIFO_NUM_KEYS_EVICTED
      # of keys in the blob files evicted because of BlobDB is full.
    • BLOB_DB_FIFO_BYTES_EVICTED

      public static final TickerType BLOB_DB_FIFO_BYTES_EVICTED
      # of bytes in the blob files evicted because of BlobDB is full.
    • BLOB_DB_CACHE_MISS

      public static final TickerType BLOB_DB_CACHE_MISS
      # of times cache miss when accessing blob from blob cache.
    • BLOB_DB_CACHE_HIT

      public static final TickerType BLOB_DB_CACHE_HIT
      # of times cache hit when accessing blob from blob cache.
    • BLOB_DB_CACHE_ADD

      public static final TickerType BLOB_DB_CACHE_ADD
      # of data blocks added to blob cache.
    • BLOB_DB_CACHE_ADD_FAILURES

      public static final TickerType BLOB_DB_CACHE_ADD_FAILURES
      # # of failures when adding blobs to blob cache.
    • BLOB_DB_CACHE_BYTES_READ

      public static final TickerType BLOB_DB_CACHE_BYTES_READ
      # of bytes read from blob cache.
    • BLOB_DB_CACHE_BYTES_WRITE

      public static final TickerType BLOB_DB_CACHE_BYTES_WRITE
      # of bytes written into blob cache.
    • TXN_PREPARE_MUTEX_OVERHEAD

      public static final TickerType TXN_PREPARE_MUTEX_OVERHEAD
      These 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.
    • TXN_OLD_COMMIT_MAP_MUTEX_OVERHEAD

      public static final TickerType TXN_OLD_COMMIT_MAP_MUTEX_OVERHEAD
      # of times old_commit_map_mutex_ is acquired in the fast path.
    • TXN_DUPLICATE_KEY_OVERHEAD

      public static final TickerType TXN_DUPLICATE_KEY_OVERHEAD
      # of times we checked a batch for duplicate keys.
    • TXN_SNAPSHOT_MUTEX_OVERHEAD

      public static final TickerType TXN_SNAPSHOT_MUTEX_OVERHEAD
      # of times snapshot_mutex_ is acquired in the fast path.
    • TXN_GET_TRY_AGAIN

      public static final TickerType TXN_GET_TRY_AGAIN
      # of times ::Get returned TryAgain due to expired snapshot seq
    • FILES_MARKED_TRASH

      public static final TickerType FILES_MARKED_TRASH
      # of files marked as trash by delete scheduler
    • FILES_DELETED_FROM_TRASH_QUEUE

      public static final TickerType FILES_DELETED_FROM_TRASH_QUEUE
      # of trash files deleted by the background thread from the trash queue
    • FILES_DELETED_IMMEDIATELY

      public static final TickerType FILES_DELETED_IMMEDIATELY
      # of files deleted immediately by delete scheduler
    • ERROR_HANDLER_BG_ERROR_COUNT

      public static final TickerType ERROR_HANDLER_BG_ERROR_COUNT
      DB error handler statistics
    • ERROR_HANDLER_BG_IO_ERROR_COUNT

      public static final TickerType ERROR_HANDLER_BG_IO_ERROR_COUNT
    • ERROR_HANDLER_BG_RETRYABLE_IO_ERROR_COUNT

      public static final TickerType ERROR_HANDLER_BG_RETRYABLE_IO_ERROR_COUNT
    • ERROR_HANDLER_AUTORESUME_COUNT

      public static final TickerType ERROR_HANDLER_AUTORESUME_COUNT
    • ERROR_HANDLER_AUTORESUME_RETRY_TOTAL_COUNT

      public static final TickerType ERROR_HANDLER_AUTORESUME_RETRY_TOTAL_COUNT
    • ERROR_HANDLER_AUTORESUME_SUCCESS_COUNT

      public static final TickerType ERROR_HANDLER_AUTORESUME_SUCCESS_COUNT
    • MEMTABLE_PAYLOAD_BYTES_AT_FLUSH

      public static final TickerType MEMTABLE_PAYLOAD_BYTES_AT_FLUSH
      Bytes of raw data (payload) found on memtable at flush time. Contains the sum of garbage payload (bytes that are discarded at flush time) and useful payload (bytes of data that will eventually be written to SSTable).
    • MEMTABLE_GARBAGE_BYTES_AT_FLUSH

      public static final TickerType MEMTABLE_GARBAGE_BYTES_AT_FLUSH
      Outdated bytes of data present on memtable at flush time.
    • VERIFY_CHECKSUM_READ_BYTES

      public static final TickerType VERIFY_CHECKSUM_READ_BYTES
      Bytes read by `VerifyChecksum()` and `VerifyFileChecksums()` APIs.
    • BACKUP_READ_BYTES

      public static final TickerType BACKUP_READ_BYTES
      Bytes read/written while creating backups
    • BACKUP_WRITE_BYTES

      public static final TickerType BACKUP_WRITE_BYTES
    • REMOTE_COMPACT_READ_BYTES

      public static final TickerType REMOTE_COMPACT_READ_BYTES
      Remote compaction read/write statistics
    • REMOTE_COMPACT_WRITE_BYTES

      public static final TickerType REMOTE_COMPACT_WRITE_BYTES
    • HOT_FILE_READ_BYTES

      public static final TickerType HOT_FILE_READ_BYTES
      Tiered storage related statistics
    • WARM_FILE_READ_BYTES

      public static final TickerType WARM_FILE_READ_BYTES
    • COLD_FILE_READ_BYTES

      public static final TickerType COLD_FILE_READ_BYTES
    • HOT_FILE_READ_COUNT

      public static final TickerType HOT_FILE_READ_COUNT
    • WARM_FILE_READ_COUNT

      public static final TickerType WARM_FILE_READ_COUNT
    • COLD_FILE_READ_COUNT

      public static final TickerType COLD_FILE_READ_COUNT
    • LAST_LEVEL_READ_BYTES

      public static final TickerType LAST_LEVEL_READ_BYTES
      (non-)last level read statistics
    • LAST_LEVEL_READ_COUNT

      public static final TickerType LAST_LEVEL_READ_COUNT
    • NON_LAST_LEVEL_READ_BYTES

      public static final TickerType NON_LAST_LEVEL_READ_BYTES
    • NON_LAST_LEVEL_READ_COUNT

      public static final TickerType NON_LAST_LEVEL_READ_COUNT
    • LAST_LEVEL_SEEK_FILTERED

      public static final TickerType LAST_LEVEL_SEEK_FILTERED
      Statistics 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.
    • LAST_LEVEL_SEEK_FILTER_MATCH

      public static final TickerType LAST_LEVEL_SEEK_FILTER_MATCH
      Filter match: a filter such as prefix Bloom filter was queried but did not filter out the seek.
    • LAST_LEVEL_SEEK_DATA

      public static final TickerType LAST_LEVEL_SEEK_DATA
      At least one data block was accessed for a Seek() (or variant) on a sorted run.
    • LAST_LEVEL_SEEK_DATA_USEFUL_NO_FILTER

      public static final TickerType LAST_LEVEL_SEEK_DATA_USEFUL_NO_FILTER
      At least one value() was accessed for the seek (suggesting it was useful), and no filter such as prefix Bloom was queried.
    • LAST_LEVEL_SEEK_DATA_USEFUL_FILTER_MATCH

      public static final TickerType LAST_LEVEL_SEEK_DATA_USEFUL_FILTER_MATCH
      At least one value() was accessed for the seek (suggesting it was useful), after querying a filter such as prefix Bloom.
    • NON_LAST_LEVEL_SEEK_FILTERED

      public static final TickerType NON_LAST_LEVEL_SEEK_FILTERED
      The same set of stats, but for non-last level seeks.
    • NON_LAST_LEVEL_SEEK_FILTER_MATCH

      public static final TickerType NON_LAST_LEVEL_SEEK_FILTER_MATCH
    • NON_LAST_LEVEL_SEEK_DATA

      public static final TickerType NON_LAST_LEVEL_SEEK_DATA
    • NON_LAST_LEVEL_SEEK_DATA_USEFUL_NO_FILTER

      public static final TickerType NON_LAST_LEVEL_SEEK_DATA_USEFUL_NO_FILTER
    • NON_LAST_LEVEL_SEEK_DATA_USEFUL_FILTER_MATCH

      public static final TickerType NON_LAST_LEVEL_SEEK_DATA_USEFUL_FILTER_MATCH
    • BLOCK_CHECKSUM_COMPUTE_COUNT

      public static final TickerType BLOCK_CHECKSUM_COMPUTE_COUNT
      Number of block checksum verifications
    • BLOCK_CHECKSUM_MISMATCH_COUNT

      public static final TickerType BLOCK_CHECKSUM_MISMATCH_COUNT
      Number 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.
    • MULTIGET_COROUTINE_COUNT

      public static final TickerType MULTIGET_COROUTINE_COUNT
    • READ_ASYNC_MICROS

      public static final TickerType READ_ASYNC_MICROS
      Time spent in the ReadAsync file system call
    • ASYNC_READ_ERROR_COUNT

      public static final TickerType ASYNC_READ_ERROR_COUNT
      Number of errors returned to the async read callback
    • TABLE_OPEN_PREFETCH_TAIL_MISS

      public static final TickerType TABLE_OPEN_PREFETCH_TAIL_MISS
      Number of lookup into the prefetched tail (see `TABLE_OPEN_PREFETCH_TAIL_READ_BYTES`) that can't find its data for table open
    • TABLE_OPEN_PREFETCH_TAIL_HIT

      public static final TickerType TABLE_OPEN_PREFETCH_TAIL_HIT
      Number of lookup into the prefetched tail (see `TABLE_OPEN_PREFETCH_TAIL_READ_BYTES`) that finds its data for table open
    • TIMESTAMP_FILTER_TABLE_CHECKED

      public static final TickerType TIMESTAMP_FILTER_TABLE_CHECKED
      # of times timestamps are checked on accessing the table
    • TIMESTAMP_FILTER_TABLE_FILTERED

      public static final TickerType TIMESTAMP_FILTER_TABLE_FILTERED
      # of times timestamps can successfully help skip the table access
    • READAHEAD_TRIMMED

      public static final TickerType READAHEAD_TRIMMED
    • FIFO_MAX_SIZE_COMPACTIONS

      public static final TickerType FIFO_MAX_SIZE_COMPACTIONS
    • FIFO_TTL_COMPACTIONS

      public static final TickerType FIFO_TTL_COMPACTIONS
    • PREFETCH_BYTES

      public static final TickerType PREFETCH_BYTES
    • PREFETCH_BYTES_USEFUL

      public static final TickerType PREFETCH_BYTES_USEFUL
    • PREFETCH_HITS

      public static final TickerType PREFETCH_HITS
    • FILE_READ_CORRUPTION_RETRY_COUNT

      public static final TickerType FILE_READ_CORRUPTION_RETRY_COUNT
    • FILE_READ_CORRUPTION_RETRY_SUCCESS_COUNT

      public static final TickerType FILE_READ_CORRUPTION_RETRY_SUCCESS_COUNT
    • TICKER_ENUM_MAX

      public static final TickerType TICKER_ENUM_MAX
  • Method Details

    • values

      public static TickerType[] 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 TickerType 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
    • getTickerType

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