-
Notifications
You must be signed in to change notification settings - Fork 752
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
bug: EXPLAIN ANALYZE taking excessive time #16972
Comments
Is it possible here that grouping by so many columns causes a problem? It seems like there may be an exponential issue with grouping |
I can't reproduce it in my local machine, the data is so large I don't have enough disk to test it. Can you post the elapsed time comparisons of query and explain analyze query ? |
I just ran for 60M rows, it took 1m32s for |
|
Search before asking
Version
Version: v1.2.665-nightly-ab08029eb9(rust-1.81.0-nightly-2024-11-27T10:17:49.268106726Z)
What's Wrong?
Running EXPLAIN ANALYZE on a GROUP BY query that is not completing takes excessive time. Hopefully the SQL below will replicate sufficiently to see the problem for the EXPLAIN, and possibly also for why the GROUP BY takes such time. The SQL generates 60M rows, but we actually have 256M in the real table so the volume may need increasing.
We saw the error in the attached file in the query logs.
explain_analyze_group_by_error.txt
How to Reproduce?
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: