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
query performance (version 23.7.2) #53027
Comments
This is main trace_log on 23.5:
|
This is trace_log on 23.7
|
on 23.7 ,like not found key, run Full Table Scan |
tihis is my table engine : |
@yangshike could you please provide table schema ( |
|
version 23.7.2 explain
|
version 23.5.2
|
@yangshike From explains it looks like this could be #52308 |
|
After disabling, the query speed is the same as 23.5。
|
this only disable setting for query_plan_optimize_primary_key
|
Probably related #52308 ? |
I want to know if this is a problem or not. On 23.5, both parameter values are 1, but on 23.7, I need to set one of them to 0 (set query_plan_optimize_primary_key=0) |
today ,I upgraded from 23.5 to 23.7.2,because :23.7 (Fix for moving 'IN' conditions to PREWHERE #51610 (Alexander Gololobov))
Unfortunately,a disaster has occurred.
query in 23.7 : 616 rows in set. Elapsed: 27.013 sec. Processed 517.96 million rows, 177.16 GB
query on 23.5: 616 rows in set. Elapsed: 0.166 sec. Processed 384.01 thousand rows, 135.14 MB
this is my query:
The text was updated successfully, but these errors were encountered: