rocksdb/monitoring
akankshamahajan f65a0379f0 Implement trimming of readhead size when upper bound is specified (#11684)
Summary:
Implement trimming of readahead_size under a new option ReadOptions.auto_readahead_size. It'll trim the readahead_size during prefetching upto iterate_upper_bound offset only when ReadOptions.iterate_upper_bound is set, therefore reducing the prefetching of data beyond upper_bound.
It's enabled for both implicit auto readahead size and when ReadOptions.readahead_size is specified and for sync and async_io.

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

Test Plan: Added new unit test

Reviewed By: anand1976

Differential Revision: D48479723

Pulled By: akankshamahajan15

fbshipit-source-id: 2b1703579caf779105e836b580866ffd7db076fc
2023-08-18 15:52:04 -07:00
..
file_read_sample.h
histogram.cc
histogram.h
histogram_test.cc
histogram_windowing.cc
histogram_windowing.h
in_memory_stats_history.cc
in_memory_stats_history.h
instrumented_mutex.cc
instrumented_mutex.h
iostats_context.cc
iostats_context_imp.h
iostats_context_test.cc
perf_context.cc
perf_context_imp.h
perf_level.cc
perf_level_imp.h
perf_step_timer.h
persistent_stats_history.cc
persistent_stats_history.h
statistics.cc Implement trimming of readhead size when upper bound is specified (#11684) 2023-08-18 15:52:04 -07:00
statistics_impl.h
statistics_test.cc
stats_history_test.cc
thread_status_impl.cc
thread_status_updater.cc
thread_status_updater.h
thread_status_updater_debug.cc
thread_status_util.cc
thread_status_util.h
thread_status_util_debug.cc Group rocksdb.sst.read.micros stat by different user read IOActivity + misc (#11444) 2023-08-08 17:26:50 -07:00