cockroachdb / cockroachdb/cockroach

sql: surface "write buffering" information as statement execution stat

Open
#150,212 4 comments 0 reactions 0 assignees View on GitHub
A-buffered-writes A-sql-observability C-enhancement O-premortem T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Given that write buffering on txns can have non-trivial impact on the stmt execution, it'd be worth it to include information on whether write buffering was enabled for a given stmt execution. We should make it a top-level boolean (similar to "distsql" and "vectorized"), and perhaps even include it into the "key" part when bucketing stmt executions.

Jira issue: CRDB-52606

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.