-
Notifications
You must be signed in to change notification settings - Fork 4.1k
rttanalysis: extend framework to track number of descriptors fetched #90960
Copy link
Copy link
Open
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
Is your feature request related to a problem? Please describe.
The rttanalysis framework is helpful because it lets us track round-trips used to run certain queries. Round-trips are not everything. While in multi-region settings, round-trips often dominate the cost of execution, deserializing and validating many descriptors is more expensive. In some cases we can do an index-join to look up a small number of descriptors and that's preferable to scanning all descriptors if the number of descriptors is large (#90116).
Describe the solution you'd like
We should also track the number of descriptors which need to be decoded and other metrics related to the cost of an operation.
Jira issue: CRDB-21043
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)