Skip to content

Benchmark oxql measurement queries.#10377

Merged
jmcarp merged 1 commit into
mainfrom
jmcarp/oxql-measurement-bench
May 20, 2026
Merged

Benchmark oxql measurement queries.#10377
jmcarp merged 1 commit into
mainfrom
jmcarp/oxql-measurement-bench

Conversation

@jmcarp
Copy link
Copy Markdown
Contributor

@jmcarp jmcarp commented May 5, 2026

Add scripts to back up and restore example measurement records from a live clickhouse instance, using a limited time window to avoid fully exporting large tables. Then add a new oxql benchmark that tests an example measurement query on a selection of timeseries.

Context: I had another perf theory that may or may not pan out, and I wanted to test it at least somewhat rigorously. This patch adds a full measurement query benchmark, plus some tweaks to the prior field benchmark.

Add scripts to back up and restore example measurement records from a
live clickhouse instance, using a limited time window to avoid fully
exporting large tables. Then add a new oxql benchmark that tests an
example measurement query on a selection of timeseries.
@jmcarp jmcarp requested a review from bnaecker May 16, 2026 14:01
@jmcarp
Copy link
Copy Markdown
Contributor Author

jmcarp commented May 16, 2026

Note: this may not wind up being useful if we wind up changing metrics schemas in clickhouse. But given that work isn't scheduled yet, we may as well check in tooling for the current architecture.

Copy link
Copy Markdown
Collaborator

@bnaecker bnaecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks.

@jmcarp jmcarp merged commit e1fe945 into main May 20, 2026
17 checks passed
@jmcarp jmcarp deleted the jmcarp/oxql-measurement-bench branch May 20, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants