You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
157160: sql: improve observability for statements with hints r=DrewKimball a=DrewKimball
#### builtins: decrease wait time for await_statement_hints_cache
Previously, `crdb_internal.await_statement_hints_cache` waited until
the hint cache frontier timestamp reached `now()` plus the closed
timestamp target duration and refresh interval. The frontier timestamp
indicates that we've seen all events up to that timestamp, so it's OK
to just wait until `now()` instead.
Epic: None
Release note: None
#### explain: display number of hints for EXPLAIN ANALYZE
This commit adds a top-level field to the `EXPLAIN ANALYZE` output
showing the number of hints applied to the statement if nonzero.
Informs #121502
Release note (sql change): EXPLAIN ANALYZE will now display the number
of hints from `system.statement_hints` applied to the executed statement.
#### ui: show whether statement hints were applied in DB console
This commit adds a field to the "plan details" shown for statements in
the "statement activity" page of the DB console. The new field indicates
whether any statement hints from `system.statement_hints` were applied
to the statement.
Informs #121502
Release note (sql change): Plan details in the "statement activity" page
of the DB console now show whether any hints from `system.statement_hints`
werer applied to the statement execution.
Co-authored-by: Drew Kimball <drewk@cockroachlabs.com>
0 commit comments