Important
Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.
KILLALL QUERIES
On this page
The KILLALL QUERIES command kills all running queries or closes all connections.
Syntax
KILLALL [CONNECTIONS | QUERIES] [LIKE 'pattern']Remarks
-
KILLALL CONNECTIONSwill disconnect the clients associated with killed queries.This is the default. -
KILLALL QUERIESwill not disconnect the clients associated with killed queries.An error will be sent to all such clients. -
pattern- Only kill queries which match this pattern. -
KILLALLwill only kill queries running on the same node as this operation. -
SingleStore Helios checks for the kill bit during any potentially long running loop during query execution and rolls back the query’s transaction if the kill bit is set.
-
This command will only kill queries running on the same node as it.
Example
KILLALL QUERIES LIKE 'SELECT%';
Query OK, 0 rows affected (0.00 sec)Last modified: