Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: flushing SQL stats to disk consumes significant cpu (1.5% cpu) #136324

Open
ajstorm opened this issue Nov 27, 2024 · 1 comment
Open

perf: flushing SQL stats to disk consumes significant cpu (1.5% cpu) #136324

ajstorm opened this issue Nov 27, 2024 · 1 comment
Labels
A-sql-observability Related to observability of the SQL layer C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. o-perf-efficiency Related to performance efficiency T-observability

Comments

@ajstorm
Copy link
Collaborator

ajstorm commented Nov 27, 2024

When running sysbench oltp_read_write we're seeing that disabling sql.stats.flush.enabled yields 1.5% higher QPS. We should investigate whether we can reduce this overhead and/or turn this off by default.

Jira issue: CRDB-44974

@ajstorm ajstorm added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. A-sql-observability Related to observability of the SQL layer T-observability o-perf-efficiency Related to performance efficiency labels Nov 27, 2024
Copy link

blathers-crl bot commented Nov 27, 2024

Hi @ajstorm, please add branch-* labels to identify which branch(es) this C-bug affects.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@ajstorm ajstorm added the branch-master Failures and bugs on the master branch. label Nov 27, 2024
@exalate-issue-sync exalate-issue-sync bot removed the branch-master Failures and bugs on the master branch. label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-observability Related to observability of the SQL layer C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. o-perf-efficiency Related to performance efficiency T-observability
Projects
None yet
Development

No branches or pull requests

1 participant