cockroachdb / cockroachdb/cockroach
sql: support SHOW {STABLE|CANARY} STATISTICS syntax
Open
A-sql-table-stats
C-enhancement
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
In #162243 we introduce the canary rollout of table statistics, which involves maintaining a pair of caches for the "canary" stats and "stable" stats. For observability, we would want to make this division via the SHOW STATISTICS syntax. It should also subject to the `stats_as_of` session variable.
Informs: #156817
Jira issue: CRDB-60161
Contributor guide
Assessment
This issue has not been assessed yet.