Join the MemSQL Community Today
Get expert advice, develop skills, and connect with others.
Kills all running queries or closes all connections.
KILLALL [CONNECTIONS | QUERIES] [LIKE 'pattern']
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.
memsql> KILLALL QUERIES LIKE 'SELECT%'; Query OK, 0 rows affected (0.00 sec)