Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage,roachpb: surface iterator {cached,} block counts in traces #82083

Conversation

irfansharif
Copy link
Contributor

@irfansharif irfansharif commented May 30, 2022

Adds plumbing for surfacing the # of blocks read in total + from the
pebble block cache, things we're now tracking down in pebble:
cockroachdb/pebble/pull/1729. These numbers can come in handy
when reasoning about block cache hit rates for slow scans.

Release note: None


First commit is from #81942. Second commit will be dropped once cockroachdb/pebble#1729 merges and pebble is bumped on master to pick it up.

Adds plumbing for surfacing the # of blocks read in total + from the
pebble block cache, things we're now tracking down in pebble:
github.com/cockroachdb/pebble/pull/1729. These numbers can come in handy
when reasoning about block cache hit rates for slow scans.

Release note: None
@irfansharif irfansharif requested review from a team as code owners May 30, 2022 20:14
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@irfansharif
Copy link
Contributor Author

CI failure is unrelated: #81881.

@irfansharif irfansharif deleted the 220527.use-pebble-blockcounts branch June 15, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants