VeloDB Cloud
SQL Manual
Statments
Database-Administration-Statements
KILL

KILL

Name

KILL

Description

Each Doris connection runs in a separate thread. You can end a thread using 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.

Syntax:

KILL [CONNECTION | QUERY] processlist_id

Example

Keywords

KILL

Best Practice