Enum PerfMetric
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
A counter available from a PerfContext, mapped from the
metric enumeration in RocksDb's c.h.
public enum PerfMetric
Fields
BlobCacheHitCount = 69Maps to
rocksdb_blob_cache_hit_count.BlobChecksumTime = 73Maps to
rocksdb_blob_checksum_time.BlobDecompressTime = 74Maps to
rocksdb_blob_decompress_time.BlobReadByte = 71Maps to
rocksdb_blob_read_byte.BlobReadCount = 70Maps to
rocksdb_blob_read_count.BlobReadTime = 72Maps to
rocksdb_blob_read_time.BlockCacheHitCount = 1Maps to
rocksdb_block_cache_hit_count.BlockChecksumTime = 5Maps to
rocksdb_block_checksum_time.BlockDecompressTime = 6Maps to
rocksdb_block_decompress_time.BlockReadByte = 3Maps to
rocksdb_block_read_byte.BlockReadCount = 2Maps to
rocksdb_block_read_count.BlockReadCpuTime = 76Maps to
rocksdb_block_read_cpu_time.BlockReadTime = 4Maps to
rocksdb_block_read_time.BlockSeekNanos = 40Maps to
rocksdb_block_seek_nanos.BloomMemtableHitCount = 42Maps to
rocksdb_bloom_memtable_hit_count.BloomMemtableMissCount = 43Maps to
rocksdb_bloom_memtable_miss_count.BloomSstHitCount = 44Maps to
rocksdb_bloom_sst_hit_count.BloomSstMissCount = 45Maps to
rocksdb_bloom_sst_miss_count.CompressionDictBlockReadByte = 81Maps to
rocksdb_compression_dict_block_read_byte.DataBlockReadByte = 78Maps to
rocksdb_data_block_read_byte.DbConditionWaitNanos = 34Maps to
rocksdb_db_condition_wait_nanos.DbMutexLockNanos = 33Maps to
rocksdb_db_mutex_lock_nanos.EnvCreateDirIfMissingNanos = 59Maps to
rocksdb_env_create_dir_if_missing_nanos.EnvCreateDirNanos = 58Maps to
rocksdb_env_create_dir_nanos.EnvDeleteDirNanos = 60Maps to
rocksdb_env_delete_dir_nanos.EnvDeleteFileNanos = 57Maps to
rocksdb_env_delete_file_nanos.EnvFileExistsNanos = 54Maps to
rocksdb_env_file_exists_nanos.EnvGetChildrenFileAttributesNanos = 56Maps to
rocksdb_env_get_children_file_attributes_nanos.EnvGetChildrenNanos = 55Maps to
rocksdb_env_get_children_nanos.EnvGetFileModificationTimeNanos = 62Maps to
rocksdb_env_get_file_modification_time_nanos.EnvGetFileSizeNanos = 61Maps to
rocksdb_env_get_file_size_nanos.EnvLinkFileNanos = 64Maps to
rocksdb_env_link_file_nanos.EnvLockFileNanos = 65Maps to
rocksdb_env_lock_file_nanos.EnvNewDirectoryNanos = 53Maps to
rocksdb_env_new_directory_nanos.EnvNewLoggerNanos = 67Maps to
rocksdb_env_new_logger_nanos.EnvNewRandomAccessFileNanos = 49Maps to
rocksdb_env_new_random_access_file_nanos.EnvNewRandomRwFileNanos = 52Maps to
rocksdb_env_new_random_rw_file_nanos.EnvNewSequentialFileNanos = 48Maps to
rocksdb_env_new_sequential_file_nanos.EnvNewWritableFileNanos = 50Maps to
rocksdb_env_new_writable_file_nanos.EnvRenameFileNanos = 63Maps to
rocksdb_env_rename_file_nanos.EnvReuseWritableFileNanos = 51Maps to
rocksdb_env_reuse_writable_file_nanos.EnvUnlockFileNanos = 66Maps to
rocksdb_env_unlock_file_nanos.FilterBlockReadByte = 80Maps to
rocksdb_filter_block_read_byte.FindNextUserEntryTime = 28Maps to
rocksdb_find_next_user_entry_time.FindTableNanos = 41Maps to
rocksdb_find_table_nanos.GetFromMemtableCount = 16Maps to
rocksdb_get_from_memtable_count.GetFromMemtableTime = 15Maps to
rocksdb_get_from_memtable_time.GetFromOutputFilesTime = 18Maps to
rocksdb_get_from_output_files_time.GetPostProcessTime = 17Maps to
rocksdb_get_post_process_time.GetReadBytes = 7Maps to
rocksdb_get_read_bytes.GetSnapshotTime = 14Maps to
rocksdb_get_snapshot_time.IndexBlockReadByte = 79Maps to
rocksdb_index_block_read_byte.InternalDeleteSkippedCount = 11Maps to
rocksdb_internal_delete_skipped_count.InternalKeySkippedCount = 10Maps to
rocksdb_internal_key_skipped_count.InternalMergeCount = 13Maps to
rocksdb_internal_merge_count.InternalMergePointLookupCount = 77Maps to
rocksdb_internal_merge_point_lookup_count.InternalRangeDelReseekCount = 75Maps to
rocksdb_internal_range_del_reseek_count.InternalRecentSkippedCount = 12Maps to
rocksdb_internal_recent_skipped_count.IterReadBytes = 9Maps to
rocksdb_iter_read_bytes.KeyLockWaitCount = 47Maps to
rocksdb_key_lock_wait_count.KeyLockWaitTime = 46Maps to
rocksdb_key_lock_wait_time.MergeOperatorTimeNanos = 35Maps to
rocksdb_merge_operator_time_nanos.MetadataBlockReadByte = 82Maps to
rocksdb_metadata_block_read_byte.MultiGetReadBytes = 8Maps to
rocksdb_multiget_read_bytes.NewTableBlockIterNanos = 38Maps to
rocksdb_new_table_block_iter_nanos.NewTableIteratorNanos = 39Maps to
rocksdb_new_table_iterator_nanos.NextOnMemtableCount = 21Maps to
rocksdb_next_on_memtable_count.NumberAsyncSeek = 68Maps to
rocksdb_number_async_seek.PrevOnMemtableCount = 22Maps to
rocksdb_prev_on_memtable_count.ReadFilterBlockNanos = 37Maps to
rocksdb_read_filter_block_nanos.ReadIndexBlockNanos = 36Maps to
rocksdb_read_index_block_nanos.SeekChildSeekCount = 24Maps to
rocksdb_seek_child_seek_count.SeekChildSeekTime = 23Maps to
rocksdb_seek_child_seek_time.SeekInternalSeekTime = 27Maps to
rocksdb_seek_internal_seek_time.SeekMaxHeapTime = 26Maps to
rocksdb_seek_max_heap_time.SeekMinHeapTime = 25Maps to
rocksdb_seek_min_heap_time.SeekOnMemtableCount = 20Maps to
rocksdb_seek_on_memtable_count.SeekOnMemtableTime = 19Maps to
rocksdb_seek_on_memtable_time.UserKeyComparisonCount = 0Maps to
rocksdb_user_key_comparison_count.WriteDelayTime = 31Maps to
rocksdb_write_delay_time.WriteMemtableTime = 30Maps to
rocksdb_write_memtable_time.WritePreAndPostProcessTime = 32Maps to
rocksdb_write_pre_and_post_process_time.WriteWalTime = 29Maps to
rocksdb_write_wal_time.
Remarks
The values are positional in the native header, so they must match it exactly. Which counters are populated depends on the PerfLevel in force: counts are collected by default, while anything time-related needs a higher level.