How to end an endlessly running query in Vertica?
I put a query to create a table in Vertica. But it seems that the query is taking more time to execute when compared to the average run time. It tried to stop the query using the cross button available in the background processes tab, but unfortunately it didn't stop the query. Can you please help in stopping it?
0
Comments
When I kill SPSS I lose any unsaved streams. Toad at least makes backups. Killing the session is not my first choice. The queries might be run under low memory conditions on my PC, but after I kill the process and restart I usually have no problem running them.
Syntax
The Vertica Management console can kill queries as well.
INTERRUPT_STATEMENT is the best option, you can select which queries you want to stop.
Did, you try to find out why your queries are blocked.
The management console can also kill a specific query. On the far right is the cancel query. See attached screen!