cockroachdb / cockroachdb/cockroach
Add additional SQL statistics to break down RU consumption
Open
C-enhancement
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
It's difficult for CockroachDB Serverless users to understand how RUs are correlated with their workload, specifically SQL statements and Transactions.
This issue tracks adding additional SQL statistics to specifically allow users to correlate and breakdown RUs:
- [ ] Resource Units (RUs)
- [ ] Network egress bytes
- [x] SQL CPU
- [ ] Read Requests/Bytes
- [ ] Write Requests/Bytes
Related issue for SQL Stats collected via telemetry: https://github.com/cockroachdb/cockroach/issues/95194
Jira issue: CRDB-30472
Contributor guide
Assessment
This issue has not been assessed yet.