Skip to content

sql,kv: extend SHOW RANGES to include table/index size estimates #97858

@knz

Description

@knz

Describe the problem

Currently SHOW RANGES WITH DETAILS only includes range sizes, not object sizes.

When a range contains multiple table/indexes, the range size cannot be used to estimate the table/index size any more.

So we need a replacement for where people would previously use SUM on the range size.

This can use the new span stats computation that Zach implemented in #96223 .

Jira issue: CRDB-24925
Epic: CRDB-24928

Metadata

Metadata

Assignees

Labels

A-kv-observabilityC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions