Skip to content

rttanalysis: extend framework to track number of descriptors fetched #90960

@ajwerner

Description

@ajwerner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions