cockroachdb / cockroachdb/cockroach

sql: support SHOW {STABLE|CANARY} STATISTICS syntax

Open
#163,290 0 comments 0 reactions 1 assignee Claimed by @ZhouXing19 View on GitHub
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

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.