-
Notifications
You must be signed in to change notification settings - Fork 4.1k
storage: optimize read path for the no-range-keys case #82559
Copy link
Copy link
Closed
Labels
A-storageRelating to our storage engine (Pebble) on-disk storage.Relating to our storage engine (Pebble) on-disk storage.C-performancePerf of queries or internals. Solution not expected to change functional behavior.Perf of queries or internals. Solution not expected to change functional behavior.T-storageStorage TeamStorage Team
Description
It was observed in #82045 that there is a ~20% slowdown in the existing, typical read path when using an iterator stack that supports range keys, even in the case when there are no range keys to iterate over.
We'll want to claw back some / all of this slowdown.
HasPointAndRange() has also been seen to be a significant contributor, and should be optimized. Related to #83801.
Once this is done, we should optimize and benchmark the following performance-critical paths again, comparing them with 22.1:
-
MVCCScan -
MVCCGet -
ComputeStats -
MVCCExportToSST -
CatchUpIterator.CatchUpScan
Jira issue: CRDB-16511
Epic CRDB-2624
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-storageRelating to our storage engine (Pebble) on-disk storage.Relating to our storage engine (Pebble) on-disk storage.C-performancePerf of queries or internals. Solution not expected to change functional behavior.Perf of queries or internals. Solution not expected to change functional behavior.T-storageStorage TeamStorage Team