HeatWave Release Notes
This topic describes how to terminate an active or scheduled task using its task ID or alias. Users can only terminate tasks they own.
Ensure that you have the required roles.
To kill an asynchronous task, use the
kill_task
stored procedure.
Press CTRL+C to copymysql> CALL mysql_tasks.kill_task('task_id');
Replace the task_id
with the unique
task ID (UUID
) of the task to be
terminated.
For example:
Press CTRL+C to copymysql> CALL mysql_tasks.kill_task('d3cdc916-3b83-11f0-a5dc-02001712c792');
This example kills the active task with task id
d3cdc916-3b83-11f0-a5dc-02001712c792
.