Skip to main content
Skip to main content

KILL

KILL​

Name​

KILL

Description​

Each Doris connection runs in a separate thread. You can kill a thread with the KILL processlist_id statement.

The thread process list identifier can be determined from the ID column of the INFORMATION_SCHEMA PROCESSLIST table, the Id column of the SHOW PROCESSLIST output, and the PROCESSLIST_ID column of the Performance Schema thread table.

grammar:

KILL [CONNECTION | QUERY] processlist_id

Example​

Keywords​

KILL

Best Practice​