rocksdb/include/rocksdb
Manuel Ung aeb4612685 Add counters for seek/next/prev
Summary:
There are currently no statistics on seeks, only on gets. This adds the following counters:

rocksdb.number.db.seek
rocksdb.number.db.next
rocksdb.number.db.prev
(number of calls)

rocksdb.db.iterate.bytes.read
(number of bytes read from key + value using seek/next/prev)

rocksdb.number.keys.seek.found
rocksdb.number.keys.next.found
rocksdb.number.keys.prev.found
(number of calls where seek/next/prev found a value)

Test Plan:
./db_bench -statistics -benchmarks fillrandom,seekrandom -seek_nexts 5
./db_bench -statistics -benchmarks fillrandom,seekrandom -seek_nexts 5 -reverse_iterator

Reviewers: yhchiang, rven, kradhakrishnan, IslamAbdelRahman, MarkCallaghan, sdong, igor

Reviewed By: sdong

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D46605
2015-09-11 11:37:44 -07:00
..
utilities Transaction stats 2015-09-09 13:35:53 -07:00
c.h
cache.h
compaction_filter.h
compaction_job_stats.h [Parallel L0-L1 Compaction Prep]: Giving Subcompactions Their Own State 2015-08-18 11:06:23 -07:00
comparator.h Added Equal method to Comparator interface 2015-09-08 15:30:49 -07:00
convenience.h ColumnFamilyOptions serialization / deserialization. 2015-08-26 16:13:56 -07:00
db.h Correct the comment for GetProperty() API. 2015-08-25 16:45:23 -07:00
delete_scheduler.h Rate limit deletes issued by DestroyDB 2015-08-19 15:02:17 -07:00
env.h Make WinEnv::NowMicros return system time 2015-09-02 11:12:07 -07:00
experimental.h
filter_policy.h
flush_block_policy.h
immutable_options.h ReadaheadRandomAccessFile -- userspace readahead 2015-08-26 15:25:59 -07:00
iostats_context.h Add options.compaction_measure_io_stats to print write I/O stats in compactions 2015-08-13 16:52:26 -07:00
iterator.h
ldb_tool.h
listener.h
memtablerep.h
merge_operator.h Better CompactionJob testing 2015-08-07 21:59:51 -07:00
metadata.h
options.h Determine boundaries of subcompactions 2015-09-10 13:50:00 -07:00
perf_context.h
perf_level.h
rate_limiter.h Replace BackupRateLimiter with GenericRateLimiter 2015-09-03 17:00:09 -07:00
slice.h
slice_transform.h
snapshot.h simple ManagedSnapshot wrapper 2015-08-06 17:59:05 -07:00
sst_dump_tool.h
statistics.h Add counters for seek/next/prev 2015-09-11 11:37:44 -07:00
status.h Support static Status messages 2015-08-31 16:13:29 -07:00
table.h Refactor NewTableReader to accept TableReaderOptions 2015-09-11 11:36:33 -07:00
table_properties.h Expose per-level aggregated table properties via GetProperty() 2015-08-25 12:03:54 -07:00
thread_status.h
transaction_log.h
types.h
universal_compaction.h
version.h Release RocksDB 4.0.0 2015-09-09 16:01:03 -07:00
write_batch.h
write_batch_base.h