cockroachdb / cockroachdb/cockroach

sql: add ASOT flag to statistics tables

Open
#94,751 0 comments 0 reactions 0 assignees View on GitHub
A-sql-observability C-enhancement T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

The statement_statistics and transaction_statistics doesn't have a flag that indicates whether or not [ASOT](https://www.cockroachlabs.com/docs/stable/as-of-system-time.html) is used. Users can parse the query text itself but that would not account for setting ASOT at a session level. A new flag should be added because ASOT could impact performance.

https://cockroachlabs.slack.com/archives/C0159JK877C/p1672893118798339

Jira issue: CRDB-23120

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.