Open nicktrav opened 1 month ago
Updating iterator stats will require changes in MVCCIteratorStats
and the crdb_internal.node_transaction_statistics
system table. First PR can just update the Pebble stats and use them to calculate the old stats for MVCCIteratorStats
. But then we'll want to update everything which will require a bit of legwork to see what will be affected.
We currently have iterator stats reported in trace bundles that look as follows:
It would be useful to include a count of total block "touches" and block misses.
This will require a change down in Pebble to accumulate the stats. And then a second change to wire up the stats in the protos in Cockroach to allow the trace data to be propagated.
More context here (internal).
Jira issue: CRDB-39251