-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql,kv: extend SHOW RANGES to include table/index size estimates #97858
Copy link
Copy link
Closed
Labels
A-kv-observabilityC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-kv-observabilityC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.