cockroachdb / cockroachdb/cockroach

Debug zip's crdb_internal.index_usage_statistics only contains data on the system table

Open
#111,581 0 comments 0 reactions 0 assignees View on GitHub
C-bug O-support P-3 T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Describe the problem**

When a debug zip is generated, it contains various copies of system and crdb_internal tables. One of the tables is `crdb_internal. index_usage_statistics`. However, this table is per database, and in the debug, it only contains the information on the system database, and contains no user-data information which would be more useful.

**Expected behavior**
There should be a copy of `crdb_internal. index_usage_statistics` for each database in the cluster.

Jira issue: CRDB-31975

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.