cockroachdb / cockroachdb/cockroach

Add additional SQL statistics to break down RU consumption

Open
#108,436 1 comment 1 reaction 0 assignees View on GitHub
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

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.