feat: optimize clickhouse queries by splitting into smaller chunks for caching#1761
Draft
natebwangsut wants to merge 1 commit intografana:mainfrom
Draft
feat: optimize clickhouse queries by splitting into smaller chunks for caching#1761natebwangsut wants to merge 1 commit intografana:mainfrom
natebwangsut wants to merge 1 commit intografana:mainfrom
Conversation
Allowing clickhouse to cache queries that matches the previous queried timeframes.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allowing clickhouse to cache queries that matches the previous queried timeframes.
Type of Change
Please check the relevant option.
Feature
What is this feature?
Aligned time-range chunking for builder time series
Why is this feature needed?
These changes improve ClickHouse cache reuse in both schema-heavy Grafana flows and repeated builder time-series panel queries while keeping the merge path predictable at chunk boundaries.
Who is this feature for?
Dashboard usage at scale
How to test this feature
Provide step-by-step instructions for reviewers to test the feature.
Screenshots / Videos
Please provide screenshots or videos demonstrating the bug or the feature working. This helps reviewers understand the change visually and speeds up the review process.
Please check that:
Special notes for your reviewer
TBD