Package org.rocksdb
Enum TickerType
- java.lang.Object
-
- java.lang.Enum<TickerType>
-
- org.rocksdb.TickerType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TickerType>
public enum TickerType extends java.lang.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 Summary
Enum Constants Enum Constant Description BLOB_DB_BLOB_FILE_BYTES_READ# of bytes read from blob file.BLOB_DB_BLOB_FILE_BYTES_WRITTEN# of bytes written to blob file.BLOB_DB_BLOB_FILE_SYNCED# of times a blob files being synced.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_SIZESize of blob index evicted from base DB by BlobDB compaction filter because of corresponding file deleted.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_SIZESize of blob index evicted from base DB by BlobDB compaction filter because of expiration.BLOB_DB_BYTES_READ# of bytes (keys + value) read from BlobDB.BLOB_DB_BYTES_WRITTEN# of bytes (key + value) written to BlobDB.BLOB_DB_FIFO_BYTES_EVICTED# of bytes in the blob files evicted because of BlobDB is full.BLOB_DB_FIFO_NUM_FILES_EVICTED# of blob files evicted because of BlobDB is full.BLOB_DB_FIFO_NUM_KEYS_EVICTED# of keys in the blob files evicted because of BlobDB is full.BLOB_DB_GC_BYTES_EXPIRED# of bytes drop by BlobDB garbage collection because of expiration.BLOB_DB_GC_BYTES_OVERWRITTEN# of bytes drop by BlobDB garbage collection because they had been overwritten.BLOB_DB_GC_BYTES_RELOCATED# of bytes relocated to new blob file by garbage collection.BLOB_DB_GC_FAILURES# of BlobDB garbage collection failures.BLOB_DB_GC_NUM_FILES# of blob files being garbage collected.BLOB_DB_GC_NUM_KEYS_EXPIRED# of keys drop by BlobDB garbage collection because of expiration.BLOB_DB_GC_NUM_KEYS_OVERWRITTEN# of keys drop by BlobDB garbage collection because they had been overwritten.BLOB_DB_GC_NUM_KEYS_RELOCATED# of keys relocated to new blob file by garbage collection.BLOB_DB_GC_NUM_NEW_FILES# of blob files generated by garbage collection.BLOB_DB_NUM_GET# of Get to BlobDB.BLOB_DB_NUM_KEYS_READ# of keys read from BlobDB.BLOB_DB_NUM_KEYS_WRITTEN# of keys written to BlobDB.BLOB_DB_NUM_MULTIGET# of MultiGet to BlobDB.BLOB_DB_NUM_NEXT# of Next to BlobDB iterator.BLOB_DB_NUM_PREV# of Prev to BlobDB iterator.BLOB_DB_NUM_PUTBlobDB specific stats # of Put/PutTTL/PutUntil to BlobDB.BLOB_DB_NUM_SEEK# of Seek/SeekToFirst/SeekToLast/SeekForPrev to BlobDB iterator.BLOB_DB_NUM_WRITE# of Write to BlobDB.BLOB_DB_WRITE_BLOB# of keys written by BlobDB as non-TTL blob value.BLOB_DB_WRITE_BLOB_TTL# of keys written by BlobDB as TTL blob value.BLOB_DB_WRITE_INLINED# of keys written by BlobDB as non-TTL inlined value.BLOB_DB_WRITE_INLINED_TTL# of keys written by BlobDB as TTL inlined value.BLOCK_CACHE_ADDBLOCK_CACHE_ADD_FAILURES# of failures when adding blocks to block cache.BLOCK_CACHE_BYTES_READ# of bytes read from cache.BLOCK_CACHE_BYTES_WRITE# of bytes written into cache.BLOCK_CACHE_COMPRESSED_ADDNumber of blocks added to compressed block cache.BLOCK_CACHE_COMPRESSED_ADD_FAILURESNumber of failures when adding blocks to compressed block cache.BLOCK_CACHE_COMPRESSED_HITHit in the compressed block cache.BLOCK_CACHE_COMPRESSED_MISSMiss in the compressed block cache.BLOCK_CACHE_DATA_ADD# of data blocks added to block cache.BLOCK_CACHE_DATA_BYTES_INSERT# of bytes of data blocks inserted into cacheBLOCK_CACHE_DATA_HIT# of times cache hit when accessing data block from block cache.BLOCK_CACHE_DATA_MISS# of times cache miss when accessing data block from block cache.BLOCK_CACHE_FILTER_ADD# of filter blocks added to block cache.BLOCK_CACHE_FILTER_BYTES_EVICT# of bytes of bloom filter block erased from cacheBLOCK_CACHE_FILTER_BYTES_INSERT# of bytes of bloom filter blocks inserted into cacheBLOCK_CACHE_FILTER_HIT# of times cache hit when accessing filter block from block cache.BLOCK_CACHE_FILTER_MISS# of times cache miss when accessing filter block from block cache.BLOCK_CACHE_HITtotal block cache hit REQUIRES: BLOCK_CACHE_HIT == BLOCK_CACHE_INDEX_HIT + BLOCK_CACHE_FILTER_HIT + BLOCK_CACHE_DATA_HIT;BLOCK_CACHE_INDEX_ADD# of index blocks added to block cache.BLOCK_CACHE_INDEX_BYTES_EVICT# of bytes of index block erased from cacheBLOCK_CACHE_INDEX_BYTES_INSERT# of bytes of index blocks inserted into cacheBLOCK_CACHE_INDEX_HIT# of times cache hit when accessing index block from block cache.BLOCK_CACHE_INDEX_MISS# of times cache miss when accessing index block from block cache.BLOCK_CACHE_MISStotal block cache misses REQUIRES: BLOCK_CACHE_MISS == BLOCK_CACHE_INDEX_MISS + BLOCK_CACHE_FILTER_MISS + BLOCK_CACHE_DATA_MISS;BLOOM_FILTER_FULL_POSITIVE# of times bloom FullFilter has not avoided the reads.BLOOM_FILTER_FULL_TRUE_POSITIVE# of times bloom FullFilter has not avoided the reads and data actually exist.BLOOM_FILTER_PREFIX_CHECKEDNumber 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_USEFULBLOOM_FILTER_USEFUL# of times bloom filter has avoided file reads.BYTES_READThe number of uncompressed bytes read from DB::Get().BYTES_WRITTENThe number of uncompressed bytes issued by DB::Put(), DB::Delete(),\ DB::Merge(), and DB::Write().COMPACT_READ_BYTESBytes read during compaction.COMPACT_READ_BYTES_MARKEDCompaction read and write statistics broken down by CompactionReasonCOMPACT_READ_BYTES_PERIODICCOMPACT_READ_BYTES_TTLCOMPACT_WRITE_BYTESBytes written during compaction.COMPACT_WRITE_BYTES_MARKEDCOMPACT_WRITE_BYTES_PERIODICCOMPACT_WRITE_BYTES_TTLCOMPACTION_CANCELLEDIf a compaction was cancelled in sfm to prevent ENOSPCCOMPACTION_KEY_DROP_NEWER_ENTRYkey was written with a newer value.COMPACTION_KEY_DROP_OBSOLETEAlso includes keys dropped for range del.COMPACTION_KEY_DROP_RANGE_DELkey was covered by a range tombstone.COMPACTION_KEY_DROP_USERUser compaction function has dropped the key.COMPACTION_OPTIMIZED_DEL_DROP_OBSOLETEDeletions obsoleted before bottom level due to file gap optimization.COMPACTION_RANGE_DEL_DROP_OBSOLETEall keys in range were deleted.DB_MUTEX_WAIT_MICROSThe wait time for db mutex.ERROR_HANDLER_AUTORESUME_COUNTERROR_HANDLER_AUTORESUME_RETRY_TOTAL_COUNTERROR_HANDLER_AUTORESUME_SUCCESS_COUNTERROR_HANDLER_BG_ERROR_COUNTDB error handler statisticsERROR_HANDLER_BG_IO_ERROR_COUNTERROR_HANDLER_BG_RETRYABLE_IO_ERROR_COUNTFILES_DELETED_IMMEDIATELY# of files deleted immediately by delete schedulerFILES_MARKED_TRASH# of files marked as trash by delete schedulerFILTER_OPERATION_TOTAL_TIMEFLUSH_WRITE_BYTESBytes written during flush.GET_HIT_L0# of Get() queries served by L0GET_HIT_L1# of Get() queries served by L1GET_HIT_L2_AND_UP# of Get() queries served by L2 and upGET_UPDATES_SINCE_CALLSRecord the number of calls toRocksDB.getUpdatesSince(long).ITER_BYTES_READThe number of uncompressed bytes read from an iterator.MEMTABLE_HIT# of memtable hits.MEMTABLE_MISS# of memtable misses.MERGE_OPERATION_TOTAL_TIMENO_FILE_CLOSESNO_FILE_ERRORSNO_FILE_OPENSNO_ITERATOR_CREATEDNumber of iterators created.NO_ITERATOR_DELETEDNumber of iterators deleted.NO_ITERATORSNumber of iterators created.NUMBER_BLOCK_COMPRESSED# of compressions/decompressions executedNUMBER_BLOCK_DECOMPRESSEDNUMBER_BLOCK_NOT_COMPRESSEDNUMBER_DB_NEXTThe number of calls to next.NUMBER_DB_NEXT_FOUNDThe number of calls to next that returned data.NUMBER_DB_PREVThe number of calls to prev.NUMBER_DB_PREV_FOUNDThe number of calls to prev that returned data.NUMBER_DB_SEEKThe number of calls to seek.NUMBER_DB_SEEK_FOUNDThe number of calls to seek that returned data.NUMBER_DIRECT_LOAD_TABLE_PROPERTIESNumber of table's properties loaded directly from file, without creating table reader object.NUMBER_FILTERED_DELETESNumber of deletes records that were not required to be written to storage because key does not exist.NUMBER_ITER_SKIPNumber of internal skipped during iterationNUMBER_KEYS_READNumber of Keys read.NUMBER_KEYS_UPDATEDNumber keys updated, if inplace update is enabledNUMBER_KEYS_WRITTENNumber of keys written to the database via the Put and Write call's.NUMBER_MERGE_FAILURESNUMBER_MULTIGET_BYTES_READNumber of MultiGet bytes read.NUMBER_MULTIGET_CALLSNumber of MultiGet calls.NUMBER_MULTIGET_KEYS_FOUNDNumber of MultiGet keys found (vs number requested)NUMBER_MULTIGET_KEYS_READNumber of MultiGet keys read.NUMBER_OF_RESEEKS_IN_ITERATIONNumber of times we had to reseek inside an iteration to skip over large number of keys with same userkey.NUMBER_RATE_LIMITER_DRAINSNumber of refill intervals where rate limiter's bytes are fully consumed.NUMBER_SUPERVERSION_ACQUIRESNUMBER_SUPERVERSION_CLEANUPSNUMBER_SUPERVERSION_RELEASESPERSISTENT_CACHE_HIT# persistent cache hitPERSISTENT_CACHE_MISS# persistent cache missRATE_LIMIT_DELAY_MILLISREAD_AMP_ESTIMATE_USEFUL_BYTESEstimate of total bytes actually used.READ_AMP_TOTAL_READ_BYTESTotal size of loaded data blocks.ROW_CACHE_HITRow cache.ROW_CACHE_MISSSIM_BLOCK_CACHE_HIT# total simulation block cache hitsSIM_BLOCK_CACHE_MISS# total simulation block cache missesSTALL_L0_NUM_FILES_MICROSDeprecated.STALL_L0_SLOWDOWN_MICROSDeprecated.STALL_MEMTABLE_COMPACTION_MICROSDeprecated.STALL_MICROSWriter has to wait for compaction or flush to finish.TICKER_ENUM_MAXTXN_DUPLICATE_KEY_OVERHEAD# of times we checked a batch for duplicate keys.TXN_GET_TRY_AGAIN# of times ::Get returned TryAgain due to expired snapshot seqTXN_OLD_COMMIT_MAP_MUTEX_OVERHEAD# of times old_commit_map_mutex_ is acquired in the fast path.TXN_PREPARE_MUTEX_OVERHEADThese counters indicate a performance issue in WritePrepared transactions.TXN_SNAPSHOT_MUTEX_OVERHEAD# of times snapshot_mutex_ is acquired in the fast path.WAL_FILE_BYTESNumber of bytes written to WAL.WAL_FILE_SYNCEDNumber of times WAL sync is done.WRITE_DONE_BY_OTHEREquivalent to writes done for others.WRITE_DONE_BY_SELFWrites can be processed by requesting thread or by the thread at the head of the writers queue.WRITE_TIMEDOUTNumber of writes ending up with timed-out.WRITE_WITH_WALNumber of Write calls that request WAL.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TickerTypegetTickerType(byte value)Get Ticker type by byte value.bytegetValue()Returns the byte value of the enumerations valuestatic TickerTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TickerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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_INDEX_BYTES_EVICT
public static final TickerType BLOCK_CACHE_INDEX_BYTES_EVICT
# of bytes of index block erased from 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_FILTER_BYTES_EVICT
public static final TickerType BLOCK_CACHE_FILTER_BYTES_EVICT
# of bytes of bloom filter block erased from 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.
-
BLOOM_FILTER_USEFUL
public static final TickerType BLOOM_FILTER_USEFUL
# of times bloom filter has avoided file reads.
-
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.
-
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 useNUMBER_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.
-
NO_FILE_CLOSES
public static final TickerType NO_FILE_CLOSES
-
NO_FILE_OPENS
public static final TickerType NO_FILE_OPENS
-
NO_FILE_ERRORS
public static final TickerType NO_FILE_ERRORS
-
STALL_L0_SLOWDOWN_MICROS
@Deprecated public static final TickerType STALL_L0_SLOWDOWN_MICROS
Deprecated.Time system had to wait to do LO-L1 compactions.
-
STALL_MEMTABLE_COMPACTION_MICROS
@Deprecated public static final TickerType STALL_MEMTABLE_COMPACTION_MICROS
Deprecated.Time system had to wait to move memtable to L1.
-
STALL_L0_NUM_FILES_MICROS
@Deprecated public static final TickerType STALL_L0_NUM_FILES_MICROS
Deprecated.write throttle because of too many files in L0.
-
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 toStatsLevel.ALL
-
RATE_LIMIT_DELAY_MILLIS
public static final TickerType RATE_LIMIT_DELAY_MILLIS
-
NO_ITERATORS
public static final TickerType NO_ITERATORS
Number of iterators created.
-
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_FILTERED_DELETES
public static final TickerType NUMBER_FILTERED_DELETES
Number of deletes records that were not required to be written to storage because key does not exist.
-
NUMBER_MERGE_FAILURES
public static final TickerType NUMBER_MERGE_FAILURES
-
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
-
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.
-
GET_UPDATES_SINCE_CALLS
public static final TickerType GET_UPDATES_SINCE_CALLS
Record the number of calls toRocksDB.getUpdatesSince(long). Useful to keep track of transaction log iterator refreshes.
-
BLOCK_CACHE_COMPRESSED_MISS
public static final TickerType BLOCK_CACHE_COMPRESSED_MISS
Miss in the compressed block cache.
-
BLOCK_CACHE_COMPRESSED_HIT
public static final TickerType BLOCK_CACHE_COMPRESSED_HIT
Hit in the compressed block cache.
-
BLOCK_CACHE_COMPRESSED_ADD
public static final TickerType BLOCK_CACHE_COMPRESSED_ADD
Number of blocks added to compressed block cache.
-
BLOCK_CACHE_COMPRESSED_ADD_FAILURES
public static final TickerType BLOCK_CACHE_COMPRESSED_ADD_FAILURES
Number of failures when adding blocks to compressed block cache.
-
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_TIMEDOUT
public static final TickerType WRITE_TIMEDOUT
Number of writes ending up with timed-out.
-
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.
-
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
-
NUMBER_BLOCK_NOT_COMPRESSED
public static final TickerType NUMBER_BLOCK_NOT_COMPRESSED
-
MERGE_OPERATION_TOTAL_TIME
public static final TickerType MERGE_OPERATION_TOTAL_TIME
-
FILTER_OPERATION_TOTAL_TIME
public static final TickerType FILTER_OPERATION_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.
-
NUMBER_ITER_SKIP
public static final TickerType NUMBER_ITER_SKIP
Number of internal skipped during iteration
-
NUMBER_MULTIGET_KEYS_FOUND
public static final TickerType NUMBER_MULTIGET_KEYS_FOUND
Number of MultiGet keys found (vs number requested)
-
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.
-
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
If a compaction was cancelled in sfm to prevent ENOSPC
-
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.
-
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_OVERWRITTEN
public static final TickerType BLOB_DB_GC_NUM_KEYS_OVERWRITTEN
# of keys drop by BlobDB garbage collection because they had been overwritten.
-
BLOB_DB_GC_NUM_KEYS_EXPIRED
public static final TickerType BLOB_DB_GC_NUM_KEYS_EXPIRED
# of keys drop by BlobDB garbage collection because of expiration.
-
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_OVERWRITTEN
public static final TickerType BLOB_DB_GC_BYTES_OVERWRITTEN
# of bytes drop by BlobDB garbage collection because they had been overwritten.
-
BLOB_DB_GC_BYTES_EXPIRED
public static final TickerType BLOB_DB_GC_BYTES_EXPIRED
# of bytes drop by BlobDB garbage collection because of expiration.
-
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.
-
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_IMMEDIATELY
public static final TickerType FILES_DELETED_IMMEDIATELY
# of files deleted immediately by delete scheduler
-
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
-
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
-
TICKER_ENUM_MAX
public static final TickerType TICKER_ENUM_MAX
-
-
Method Detail
-
values
public static TickerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TickerType c : TickerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TickerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.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:
TickerTypeinstance.- Throws:
java.lang.IllegalArgumentException- if an invalid value is provided.
-
-