Revert "Query condition cache: introduce selectivity threshold"#85965
Merged
rschu1ze merged 1 commit intoClickHouse:masterfrom Aug 21, 2025
Merged
Revert "Query condition cache: introduce selectivity threshold"#85965rschu1ze merged 1 commit intoClickHouse:masterfrom
rschu1ze merged 1 commit intoClickHouse:masterfrom
Conversation
Contributor
|
Workflow [PR], commit [827bd37] Summary: ❌
|
7a7cf5e to
40d8642
Compare
This reverts commit 1f2ae82.
a99d3a2 to
827bd37
Compare
Member
Author
|
@zhongyuankai I unfortunately had to revert this PR. The reason is that it caused a regression with at least two queries in ClickBench. The problem can be easily reproduced:
I can only imagine that this is related to more expensive locking, i.e. this optimization got lost by #85253. If you have some time and like to help, it would be great if you could profile a bit and check what slows things down. Thanks! |
Member
Author
|
Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, parallel)
Stress test (amd_ubsan)
|
Merged
via the queue into
ClickHouse:master
with commit Aug 21, 2025
ece6fe4
120 of 122 checks passed
Contributor
OK, I'll solve this. |
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.
Reverts #85253
Resolves https://github.com/ClickHouse/clickhouse-private/issues/36635
Changelog category (leave one):