MyRocks Status Variables
A list of MyRocks-specific status variables providing metrics on cache hits, compaction statistics, block cache usage, and other internal operations.
This page documents status variables related to the MyRocks storage engine. See Server Status Variables for a complete list of status variables that can be viewed with SHOW STATUS.
See also the Full list of MariaDB options, system and status variables.
Rocksdb_block_cache_add
Rocksdb_block_cache_addDescription: Number of blocks added to the Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_add_failures
Rocksdb_block_cache_add_failuresDescription: Number of failures when adding blocks to Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_bytes_read
Rocksdb_block_cache_bytes_readDescription: Bytes read from Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_bytes_write
Rocksdb_block_cache_bytes_writeDescription: Bytes written to Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_data_add
Rocksdb_block_cache_data_addDescription: Number of data blocks added to the Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_data_bytes_insert
Rocksdb_block_cache_data_bytes_insertDescription: Bytes added to the Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_data_hit
Rocksdb_block_cache_data_hitDescription: Number of hits when accessing the data block from the Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_data_miss
Rocksdb_block_cache_data_missDescription: Number of misses when accessing the data block from the Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_filter_add
Rocksdb_block_cache_filter_addDescription: Number of bloom filter blocks added to the Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_filter_bytes_evict
Rocksdb_block_cache_filter_bytes_evictDescription: Bytes of bloom filter blocks evicted from the Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_filter_bytes_insert
Rocksdb_block_cache_filter_bytes_insertDescription: Bytes of bloom filter blocks added to the Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_filter_hit
Rocksdb_block_cache_filter_hitDescription: Number of hits when accessing the filter block from the Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_filter_miss
Rocksdb_block_cache_filter_missDescription: Number of misses when accessing the filter block from the Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_hit
Rocksdb_block_cache_hitDescription: Total number of hits for the Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_index_add
Rocksdb_block_cache_index_addDescription: Number of index blocks added to Block Cache index.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_index_bytes_evict
Rocksdb_block_cache_index_bytes_evictDescription: Bytes of index blocks evicted from the Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_index_bytes_insert
Rocksdb_block_cache_index_bytes_insertDescription: Bytes of index blocks added to the Block Cache.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_block_cache_index_hit
Rocksdb_block_cache_index_hitDescription: Number of hits for the Block Cache index.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_index_miss
Rocksdb_block_cache_index_missDescription: Number of misses for the Block Cache index.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cache_miss
Rocksdb_block_cache_missDescription: Total number of misses for the Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cachecompressed_hit
Rocksdb_block_cachecompressed_hitDescription: Number of hits for the compressed Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_block_cachecompressed_miss
Rocksdb_block_cachecompressed_missDescription: Number of misses for the compressed Block Cache.
Scope: Global, Session
Data Type:
numeric
Rocksdb_bloom_filter_full_positive
Rocksdb_bloom_filter_full_positiveDescription:
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.18, MariaDB 10.3.10
Rocksdb_bloom_filter_full_true_positive
Rocksdb_bloom_filter_full_true_positiveDescription:
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.18, MariaDB 10.3.10
Rocksdb_bloom_filter_prefix_checked
Rocksdb_bloom_filter_prefix_checkedDescription: Number of times the Bloom Filter checked before creating an iterator on a file.
Scope: Global, Session
Data Type:
numeric
Rocksdb_bloom_filter_prefix_useful
Rocksdb_bloom_filter_prefix_usefulDescription: Number of times the Bloom Filter check used to avoid creating an iterator on a file.
Scope: Global, Session
Data Type:
numeric
Rocksdb_bloom_filter_useful
Rocksdb_bloom_filter_usefulDescription: Number of times the Bloom Filter used instead of reading form file.
Scope: Global, Session
Data Type:
numeric
Rocksdb_bytes_read
Rocksdb_bytes_readDescription: Total number of uncompressed bytes read from memtables, cache or table files.
Scope: Global, Session
Data Type:
numeric
Rocksdb_bytes_written
Rocksdb_bytes_writtenDescription: Total number of uncompressed bytes written.
Scope: Global, Session
Data Type:
numeric
Rocksdb_compact_read_bytes
Rocksdb_compact_read_bytesDescription: Number of bytes read during compaction.
Scope: Global, Session
Data Type:
numeric
Rocksdb_compact_write_bytes
Rocksdb_compact_write_bytesDescription: Number of bytes written during compaction.
Scope: Global, Session
Data Type:
numeric
Rocksdb_compaction_key_drop_new
Rocksdb_compaction_key_drop_newDescription: Number of keys dropped during compaction due their being overwritten by new values.
Scope: Global, Session
Data Type:
numeric
Rocksdb_compaction_key_drop_obsolete
Rocksdb_compaction_key_drop_obsoleteDescription: Number of keys dropped during compaction due to their being obsolete.
Scope: Global, Session
Data Type:
numeric
Rocksdb_compaction_key_drop_user
Rocksdb_compaction_key_drop_userDescription: Number of keys dropped during compaction due to user compaction.
Scope: Global, Session
Data Type:
numeric
Rocksdb_covered_secondary_key_lookups
Rocksdb_covered_secondary_key_lookupsDescription: Incremented when avoiding reading a record via a keyread. This indicates lookups that were performed via a secondary index containing a field that is only a prefix of the VARCHAR column, and that could return all requested fields directly from the secondary index.
Scope: Global, Session
Data Type:
numeric
Rocksdb_flush_write_bytes
Rocksdb_flush_write_bytesDescription: Number of bytes written during flush.
Scope: Global, Session
Data Type:
numeric
Rocksdb_get_hit_l0
Rocksdb_get_hit_l0Description: Number of times reads got data from the L0 compaction layer.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_get_hit_l1
Rocksdb_get_hit_l1Description: Number of times reads got data from the L1 compaction layer.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_get_hit_l2_and_up
Rocksdb_get_hit_l2_and_upDescription: Number of times reads got data from the L2 and up compaction layer.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_getupdatessince_calls
Rocksdb_getupdatessince_callsDescription: Number of calls to the
GetUpdatesSincefunction. You may find this useful when monitoring refreshes of the transaction log.Scope: Global, Session
Data Type:
numeric
Rocksdb_iter_bytes_read
Rocksdb_iter_bytes_readDescription: Total uncompressed bytes read from an iterator, including the size of both key and value.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_l0_num_files_stall_micros
Rocksdb_l0_num_files_stall_microsDescription: Shows how long in microseconds throttled due to too mnay files in L0.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.3.1, MariaDB 10.2.8
Rocksdb_l0_slowdown_micros
Rocksdb_l0_slowdown_microsDescription: Total time spent waiting in microseconds while performing L0-L1 compactions.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.3.1, MariaDB 10.2.8
Rocksdb_manual_compactions_processed
Rocksdb_manual_compactions_processedDescription:
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.18, MariaDB 10.3.10
Rocksdb_manual_compactions_running
Rocksdb_manual_compactions_runningDescription:
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.18, MariaDB 10.3.10
Rocksdb_memtable_compaction_micros
Rocksdb_memtable_compaction_microsDescription:
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.3.1, MariaDB 10.2.8
Rocksdb_memtable_hit
Rocksdb_memtable_hitDescription: Number of memtable hits.
Scope: Global, Session
Data Type:
numeric
Rocksdb_memtable_miss
Rocksdb_memtable_missDescription: Number of memtable misses.
Scope: Global, Session
Data Type:
numeric
Rocksdb_memtable_total
Rocksdb_memtable_totalDescription: Memory used, in bytes, of all memtables.
Scope: Global, Session
Data Type:
numeric
Rocksdb_memtable_unflushed
Rocksdb_memtable_unflushedDescription: Memory used, in bytes, of all unflushed memtables.
Scope: Global, Session
Data Type:
numeric
Rocksdb_no_file_closes
Rocksdb_no_file_closesDescription: Number of times files were closed.
Scope: Global, Session
Data Type:
numeric
Rocksdb_no_file_errors
Rocksdb_no_file_errorsDescription: Number of errors encountered while trying to read data from an SST file.
Scope: Global, Session
Data Type:
numeric
Rocksdb_no_file_opens
Rocksdb_no_file_opensDescription: Number of times files were opened.
Scope: Global, Session
Data Type:
numeric
Rocksdb_num_iterators
Rocksdb_num_iteratorsDescription: Number of iterators currently open.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_block_not_compressed
Rocksdb_number_block_not_compressedDescription: Number of uncompressed blocks.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_db_next
Rocksdb_number_db_nextDescription: Number of
nextcalls.Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_number_db_next_found
Rocksdb_number_db_next_foundDescription: Number of
nextcalls that returned data.Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_number_db_prev
Rocksdb_number_db_prevDescription: Number of
prevcalls.Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_number_db_prev_found
Rocksdb_number_db_prev_foundDescription: Number of
prevcalls that returned data.Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_number_db_seek
Rocksdb_number_db_seekDescription: Number of
seekcalls.Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_number_db_seek_found
Rocksdb_number_db_seek_foundDescription: Number of
seekcalls that returned data.Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_number_deletes_filtered
Rocksdb_number_deletes_filteredDescription: Number of deleted records were not written to storage due to a nonexistent key.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_keys_read
Rocksdb_number_keys_readDescription: Number of keys have been read.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_keys_updated
Rocksdb_number_keys_updatedDescription: Number of keys have been updated.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_keys_written
Rocksdb_number_keys_writtenDescription: Number of keys have been written.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_merge_failures
Rocksdb_number_merge_failuresDescription: Number of failures encountered while performing merge operator actions.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_multiget_bytes_read
Rocksdb_number_multiget_bytes_readDescription: Number of bytes read during RocksDB
MultiGet()calls.Scope: Global, Session
Data Type:
numeric
Rocksdb_number_multiget_get
Rocksdb_number_multiget_getDescription: Number of RocksDB
MultiGet()requests made.Scope: Global, Session
Data Type:
numeric
Rocksdb_number_multiget_keys_read
Rocksdb_number_multiget_keys_readDescription: Number of keys read through RocksDB
MultiGet()calls.Scope: Global, Session
Data Type:
numeric
Rocksdb_number_reseeks_iteration
Rocksdb_number_reseeks_iterationDescription: Number of reseeks that have occurred inside an iteration that skipped over a large number of keys with the same user key.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_sst_entry_delete
Rocksdb_number_sst_entry_deleteDescription: Number of delete markers written.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_sst_entry_merge
Rocksdb_number_sst_entry_mergeDescription: Number of merge keys written.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_sst_entry_other
Rocksdb_number_sst_entry_otherDescription: Number of keys written that are not delete, merge or put keys.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_sst_entry_put
Rocksdb_number_sst_entry_putDescription: Number of put keys written.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_sst_entry_singledelete
Rocksdb_number_sst_entry_singledeleteDescription: Number of single-delete keys written.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_superversion_acquires
Rocksdb_number_superversion_acquiresDescription: Number of times the superversion structure acquired. This is useful when tracking files for the database.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_superversion_cleanups
Rocksdb_number_superversion_cleanupsDescription: Number of times the superversion structure performed cleanups.
Scope: Global, Session
Data Type:
numeric
Rocksdb_number_superversion_releases
Rocksdb_number_superversion_releasesDescription: Number of times the superversion structure released.
Scope: Global, Session
Data Type:
numeric
Rocksdb_queries_point
Rocksdb_queries_pointDescription: Number of single-row queries.
Scope: Global, Session
Data Type:
numeric
Rocksdb_queries_range
Rocksdb_queries_rangeDescription: Number of multi-row queries.
Scope: Global, Session
Data Type:
numeric
Rocksdb_row_lock_deadlocks
Rocksdb_row_lock_deadlocksDescription: Number of deadlocks.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_row_lock_wait_timeouts
Rocksdb_row_lock_wait_timeoutsDescription: Number of row lock wait timeouts.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_rows_deleted
Rocksdb_rows_deletedDescription: Number of rows deleted.
Scope: Global, Session
Data Type:
numeric
Rocksdb_rows_deleted_blind
Rocksdb_rows_deleted_blindDescription:
Scope: Global, Session
Data Type:
numeric
Rocksdb_rows_expired
Rocksdb_rows_expiredDescription: Number of expired rows.
Scope: Global, Session
Data Type:
numeric
Rocksdb_rows_filtered
Rocksdb_rows_filteredDescription: Number of TTL filtered rows.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.15, MariaDB 10.3.7
Rocksdb_rows_inserted
Rocksdb_rows_insertedDescription: Number of rows inserted.
Scope: Global, Session
Data Type:
numeric
Rocksdb_rows_read
Rocksdb_rows_readDescription: Number of rows read.
Scope: Global, Session
Data Type:
numeric
Rocksdb_rows_updated
Rocksdb_rows_updatedDescription: Number of rows updated.
Scope: Global, Session
Data Type:
numeric
Rocksdb_snapshot_conflict_errors
Rocksdb_snapshot_conflict_errorsDescription: Number of snapshot conflict errors that have occurred during transactions that forced a rollback.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_l0_file_count_limit_slowdowns
Rocksdb_stall_l0_file_count_limit_slowdownsDescription: Write slowdowns due to L0 being near to full.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_l0_file_count_limit_stops
Rocksdb_stall_l0_file_count_limit_stopsDescription: Write stops due to L0 being to full.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_locked_l0_file_count_limit_slowdowns
Rocksdb_stall_locked_l0_file_count_limit_slowdownsDescription: Write slowdowns due to L0 being near to full and L0 compaction in progress.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_locked_l0_file_count_limit_stops
Rocksdb_stall_locked_l0_file_count_limit_stopsDescription: Write stops due to L0 being full and L0 compaction in progress.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_memtable_limit_slowdowns
Rocksdb_stall_memtable_limit_slowdownsDescription: Write slowdowns due to approaching maximum permitted number of memtables.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.10, MariaDB 10.3.3
Rocksdb_stall_memtable_limit_stops
Rocksdb_stall_memtable_limit_stopsDescription: * Description: Write stops due to reaching maximum permitted number of memtables.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.2.10, MariaDB 10.3.3
Rocksdb_stall_micros
Rocksdb_stall_microsDescription: Time in microseconds that the writer had to wait for the compaction or flush to complete.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_pending_compaction_limit_slowdowns
Rocksdb_stall_pending_compaction_limit_slowdownsDescription: Write slowdowns due to nearing the limit for the maximum number of pending compaction bytes.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_pending_compaction_limit_stops
Rocksdb_stall_pending_compaction_limit_stopsDescription: Write stops due to reaching the limit for the maximum number of pending compaction bytes.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_total_slowdowns
Rocksdb_stall_total_slowdownsDescription: Total number of write slowdowns.
Scope: Global, Session
Data Type:
numeric
Rocksdb_stall_total_stops
Rocksdb_stall_total_stopsDescription: Total number of write stops.
Scope: Global, Session
Data Type:
numeric
Rocksdb_system_rows_deleted
Rocksdb_system_rows_deletedDescription: Number of rows deleted from system tables.
Scope: Global, Session
Data Type:
numeric
Rocksdb_system_rows_inserted
Rocksdb_system_rows_insertedDescription: Number of rows inserted into system tables.
Scope: Global, Session
Data Type:
numeric
Rocksdb_system_rows_read
Rocksdb_system_rows_readDescription: Number of rows read from system tables.
Scope: Global, Session
Data Type:
numeric
Rocksdb_system_rows_updated
Rocksdb_system_rows_updatedDescription: Number of rows updated for system tables.
Scope: Global, Session
Data Type:
numeric
Rocksdb_wal_bytes
Rocksdb_wal_bytesDescription: Number of bytes written to WAL.
Scope: Global, Session
Data Type:
numeric
Rocksdb_wal_group_syncs
Rocksdb_wal_group_syncsDescription: Number of group commit WAL file syncs have occurred. This is provided by MyRocks and is not a view of a RocksDB counter. Increased in
rocksdb_flush_wal()when doing therdb->FlushWAL()call.Scope: Global, Session
Data Type:
numeric
Rocksdb_wal_synced
Rocksdb_wal_syncedDescription: Number of syncs made on RocksDB WAL file.
Scope: Global, Session
Data Type:
numeric
Rocksdb_write_other
Rocksdb_write_otherDescription: Number of writes processed by a thread other than the requesting thread.
Scope: Global, Session
Data Type:
numeric
Rocksdb_write_self
Rocksdb_write_selfDescription: Number of writes processed by requesting thread.
Scope: Global, Session
Data Type:
numeric
Rocksdb_write_timedout
Rocksdb_write_timedoutDescription: Number of writes that timed out.
Scope: Global, Session
Data Type:
numeric
Rocksdb_write_wal
Rocksdb_write_walDescription: Number of write calls that requested WAL.
Scope: Global, Session
Data Type:
numeric
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

