-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
KILL QUERY should work during all phases of a query #7457
Labels
Milestone
Comments
This is blocked until #7646 is merged. That PR changes the structure of the query engine enough that any work on this will conflict with that PR. |
I'm still facing this issue in 1.6x
|
Still have this issue in 1.7.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Opening a feature request kicks off a discussion.
Requests may be closed if we're not actively planning to work on them.
Proposal:
Make it so queries can be interrupted during the planning phase, not just the execution phase.
Current behavior:
KILL QUERY
can't interrupt queries until the query is at the execution phase, actually sampling data from disk. With large datasets, a query likeSELECT * FROM /.*/
will spend a long time and a very large amount of RAM just instantiating the query engine iterators. During that phase,KILL QUERY
won't interrupt the process and the RAM use will continue to rise.Desired behavior:
KILL QUERY
should terminate the query as quickly as feasible no matter what phase the query is in.Use case:
Currently there are queries that can't be killed before they OOM the system even if the query is detected and a
KILL
is issued.The text was updated successfully, but these errors were encountered: