rocksdb/include/rocksdb
Hui Xiao 50046869a4 Add `rocksdb.file.read.db.open.micros` (#11455)
Summary:
**Context/Summary:**
`rocksdb.file.read.db.open.micros` is left out in https://github.com/facebook/rocksdb/pull/11288

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11455

Test Plan:
- db bench
Setup: `./db_bench -db=/dev/shm/testdb/ -statistics=true -benchmarks="fillseq" -key_size=32 -value_size=512 -num=5000 -write_buffer_size=655 -target_file_size_base=655 -disable_auto_compactions=false -compression_type=none -bloom_bits=3`
Run:
`./db_bench --bloom_bits=3 --use_existing_db=1 --seed=1682546046158958 --partition_index_and_filters=1 --statistics=1 -db=/dev/shm/testdb/  -benchmarks=readrandom  -key_size=3200 -value_size=512 -num=0 -write_buffer_size=6550000 -disable_auto_compactions=false -target_file_size_base=6550000 -compression_type=none -file_checksum=1 -cache_size=1`

```
rocksdb.sst.read.micros P50 : 3.979798 P95 : 9.738420 P99 : 19.566667 P100 : 39.000000 COUNT : 2360 SUM : 12148
rocksdb.file.read.flush.micros P50 : 0.000000 P95 : 0.000000 P99 : 0.000000 P100 : 0.000000 COUNT : 0 SUM : 0
rocksdb.file.read.compaction.micros P50 : 0.000000 P95 : 0.000000 P99 : 0.000000 P100 : 0.000000 COUNT : 0 SUM : 0
rocksdb.file.read.db.open.micros P50 : 3.979798 P95 : 9.738420 P99 : 19.566667 P100 : 39.000000 COUNT : 2360 SUM : 12148
```

Reviewed By: ajkr

Differential Revision: D45951934

Pulled By: hx235

fbshipit-source-id: 6c88639dc1b10d98ecccc963ce32a8800495f55b
2023-05-18 09:26:29 -07:00
..
utilities Group rocksdb.sst.read.micros stat by IOActivity flush and compaction (#11288) 2023-04-21 09:07:18 -07:00
advanced_cache.h Add hash_seed to Caches (#11391) 2023-05-09 22:24:26 -07:00
advanced_options.h Support compacting files to different temperatures in FIFO compaction (#11428) 2023-05-11 16:40:59 -07:00
block_cache_trace_writer.h Update header file to include right copyright (#10854) 2022-10-24 16:13:16 -07:00
c.h Block fetch CPU time counters in perf context (#11342) 2023-04-15 11:09:44 -07:00
cache.h Add hash_seed to Caches (#11391) 2023-05-09 22:24:26 -07:00
cache_bench_tool.h
cleanable.h Eliminate unnecessary (slow) block cache Ref()ing in MultiGet (#9899) 2022-04-26 21:59:24 -07:00
compaction_filter.h Fix/clarify/extend the API comments of CompactionFilter (#11261) 2023-03-03 09:53:13 -08:00
compaction_job_stats.h clang format files under include/ (#10850) 2022-10-24 14:09:32 -07:00
comparator.h Make InternalKeyComparator not configurable (#10342) 2022-07-14 10:09:31 -07:00
compression_type.h
concurrent_task_limiter.h
configurable.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
convenience.h Remove a couple deprecated convenience.h APIs (#11120) 2023-02-07 14:11:53 -08:00
customizable.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
data_structure.h Improve SmallEnumSet (#11178) 2023-02-08 20:14:57 -08:00
db.h New stat rocksdb.{cf|db}-write-stall-stats exposed in a structural way (#11300) 2023-03-18 09:51:58 -07:00
db_bench_tool.h
db_dump_tool.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
db_stress_tool.h
env.h Clarify io_activity (#11427) 2023-05-04 12:41:28 -07:00
env_encryption.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
experimental.h Add manifest fix-up utility for file temperatures (#9683) 2022-03-18 16:35:51 -07:00
file_checksum.h Mark destructors as override (#9404) 2022-01-20 08:44:27 -08:00
file_system.h Group rocksdb.sst.read.micros stat by IOActivity flush and compaction (#11288) 2023-04-21 09:07:18 -07:00
filter_policy.h Fix a major performance bug in 7.0 re: filter compatibility (#9736) 2022-03-23 10:00:54 -07:00
flush_block_policy.h
functor_wrapper.h
io_status.h clang format files under include/ (#10850) 2022-10-24 14:09:32 -07:00
iostats_context.h clang format files under include/ (#10850) 2022-10-24 14:09:32 -07:00
iterator.h Add comments describing {Put,Get}Entity, update/clarify comment for Get and iterator (#10676) 2022-09-14 14:33:05 -07:00
ldb_tool.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
listener.h New stat rocksdb.{cf|db}-write-stall-stats exposed in a structural way (#11300) 2023-03-18 09:51:58 -07:00
memory_allocator.h Shard JemallocNodumpAllocator (#11400) 2023-05-01 10:14:43 -07:00
memtablerep.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
merge_operator.h Add API to limit blast radius of merge operator failure (#11092) 2023-01-20 14:40:30 -08:00
metadata.h Support range deletion tombstones in `CreateColumnFamilyWithImport` (#11252) 2023-03-13 11:06:59 -07:00
options.h Organize + modernize ReadOptions (#11430) 2023-05-08 12:50:04 -07:00
perf_context.h Block fetch CPU time counters in perf context (#11342) 2023-04-15 11:09:44 -07:00
perf_level.h clang format files under include/ (#10850) 2022-10-24 14:09:32 -07:00
persistent_cache.h clang format files under include/ (#10850) 2022-10-24 14:09:32 -07:00
port_defs.h remove dependency on options.h for port_posix.h andport_win.h (#11214) 2023-02-13 02:21:38 -08:00
rate_limiter.h Make RateLimiter not Customizable (#10378) 2022-07-18 14:48:42 -07:00
rocksdb_namespace.h
secondary_cache.h Re-clarify SecondaryCache API (#11316) 2023-04-04 15:47:00 -07:00
slice.h Avoid allocations/copies for large `GetMergeOperands()` results (#10458) 2022-08-04 00:42:13 -07:00
slice_transform.h Document design/specification bugs with auto_prefix_mode (#10144) 2022-06-13 11:08:50 -07:00
snapshot.h Snapshots with user-specified timestamps (#9879) 2022-06-10 16:07:03 -07:00
sst_dump_tool.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
sst_file_manager.h
sst_file_reader.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
sst_file_writer.h Clarify `SstFileWriter::DeleteRange()` ordering requirements (#11390) 2023-04-20 13:02:16 -07:00
sst_partitioner.h Mark destructors as override (#9404) 2022-01-20 08:44:27 -08:00
statistics.h Add `rocksdb.file.read.db.open.micros` (#11455) 2023-05-18 09:26:29 -07:00
stats_history.h
status.h Merge operator failed subcode (#11231) 2023-02-17 10:58:46 -08:00
system_clock.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
table.h Change default block cache from 8MB to 32MB (#11350) 2023-04-04 15:33:24 -07:00
table_properties.h Record and use the tail size to prefetch table tail (#11406) 2023-05-08 13:14:28 -07:00
table_reader_caller.h Refactor block cache tracing APIs (#10811) 2022-10-21 12:15:35 -07:00
thread_status.h Group rocksdb.sst.read.micros stat by IOActivity flush and compaction (#11288) 2023-04-21 09:07:18 -07:00
threadpool.h Support reservation in thread pool (#10278) 2022-07-08 19:48:09 -07:00
trace_reader_writer.h
trace_record.h Refactor: Add BlockTypes to make them imply C++ type in block cache (#10098) 2022-06-06 11:16:12 -07:00
trace_record_result.h
transaction_log.h clang format files under include/ (#10850) 2022-10-24 14:09:32 -07:00
types.h New stat rocksdb.{cf|db}-write-stall-stats exposed in a structural way (#11300) 2023-03-18 09:51:58 -07:00
unique_id.h Adjust public APIs to prefer 128-bit SST unique ID (#10009) 2022-05-17 18:43:48 -07:00
universal_compaction.h Use actual file size when checking max_compaction_size (#10728) 2022-09-30 10:50:44 -07:00
version.h Start version 8.3 (#11405) 2023-04-24 13:37:56 -07:00
wal_filter.h
wide_columns.h Enable moving a string or PinnableSlice into PinnableWideColumns (#11248) 2023-02-24 10:33:00 -08:00
write_batch.h Basic Support for Merge with user-defined timestamp (#10819) 2022-10-31 22:28:58 -07:00
write_batch_base.h Add comments describing {Put,Get}Entity, update/clarify comment for Get and iterator (#10676) 2022-09-14 14:33:05 -07:00
write_buffer_manager.h Add `SetAllowStall()` (#11335) 2023-03-30 09:43:33 -07:00