rocksdb/monitoring
anand1976 d394a6bb48 Add a ticker stat for number of keys skipped during iteration
Summary:
This diff adds a new ticker stat, NUMBER_ITER_SKIP, to count the
number of internal keys skipped during iteration. Keys can be skipped
due to deletes, or lower sequence number, or higher sequence number
than the one requested.

Also, fix the issue when StatisticsData is naturally aligned on cacheline boundary,
padding becomes a zero size array, which the Windows compiler doesn't
like. So add a cacheline worth of padding in that case to keep it happy.
We cannot conditionally add padding as gcc doesn't allow using sizeof
in preprocessor directives.
Closes https://github.com/facebook/rocksdb/pull/3177

Differential Revision: D6353897

Pulled By: anand1976

fbshipit-source-id: 441d5a09af9c4e22e7355242dfc0c7b27aa0a6c2
2017-11-20 21:26:37 -08:00
..
file_read_sample.h Change RocksDB License 2017-07-15 16:11:23 -07:00
histogram_test.cc fix inclusive-exclusiveness of histogram ToString 2017-09-01 10:56:34 -07:00
histogram_windowing.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
histogram_windowing.h fix HistogramWindowingImpl copy-{assignment,constructor} 2017-09-01 11:11:56 -07:00
histogram.cc HistogramStat: Handle divide by zero situation 2017-11-02 11:41:50 -07:00
histogram.h Scale histogram bucket size by constant factor 2017-08-21 17:10:40 -07:00
instrumented_mutex.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
instrumented_mutex.h Change RocksDB License 2017-07-15 16:11:23 -07:00
iostats_context_imp.h Directly refernce perf_context internally. 2017-09-15 17:15:10 -07:00
iostats_context_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
iostats_context.cc Directly refernce perf_context internally. 2017-09-15 17:15:10 -07:00
perf_context_imp.h Directly refernce perf_context internally. 2017-09-15 17:15:10 -07:00
perf_context.cc Add lock wait time as a perf context counter 2017-11-06 10:57:19 -08:00
perf_level_imp.h Change RocksDB License 2017-07-15 16:11:23 -07:00
perf_level.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
perf_step_timer.h Change RocksDB License 2017-07-15 16:11:23 -07:00
statistics_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
statistics.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
statistics.h Add a ticker stat for number of keys skipped during iteration 2017-11-20 21:26:37 -08:00
thread_status_impl.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
thread_status_updater_debug.cc Use RAII instead of pointers in cf_info_map 2017-09-28 14:26:47 -07:00
thread_status_updater.cc Fix unused var warnings in Release mode 2017-10-23 14:27:04 -07:00
thread_status_updater.h Use RAII instead of pointers in cf_info_map 2017-09-28 14:26:47 -07:00
thread_status_util_debug.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
thread_status_util.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
thread_status_util.h Change RocksDB License 2017-07-15 16:11:23 -07:00