]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Update stats to help users estimate MultiGet async IO impact (#10182)
authoranand76 <anand76@devvm4702.ftw0.facebook.com>
Thu, 16 Jun 2022 19:12:43 +0000 (12:12 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 16 Jun 2022 19:12:43 +0000 (12:12 -0700)
commita6691d0f65aec6ce6ff64e8e911d7cebe00621b0
treed37523b498404534a24a4bef0ec0d1da783ade14
parent4d31d3c2ed392657a2c28fe7362f00bced7f19c9
Update stats to help users estimate MultiGet async IO impact (#10182)

Summary:
Add a couple of stats to help users estimate the impact of potential MultiGet perf improvements -
1. NUM_LEVEL_READ_PER_MULTIGET - A histogram stat for number of levels that required MultiGet to read from a file
2. MULTIGET_COROUTINE_COUNT - A ticker stat to count the number of times the coroutine version of MultiGetFromSST was used

The NUM_DATA_BLOCKS_READ_PER_LEVEL stat is obsoleted as it doesn't provide useful information for MultiGet optimization.

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

Reviewed By: akankshamahajan15

Differential Revision: D37213296

Pulled By: anand1976

fbshipit-source-id: 5d2b7708017c0e278578ae4bffac3926f6530efb
HISTORY.md
db/db_basic_test.cc
db/version_set.cc
db/version_set.h
db/version_set_sync_and_async.h
include/rocksdb/statistics.h
monitoring/statistics.cc
table/block_based/block_based_table_reader.cc
table/block_based/block_based_table_reader_sync_and_async.h
table/get_context.h