> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# KILL ANALYZE

> KILL ANALYZE 取消正在运行中的统计信息收集任务。

## 功能

取消正在运行中（Running）的统计信息收集任务，包括手动采集任务和自定义自动采集任务。该语句从 2.4 版本开始支持。

## 语法

```SQL theme={null}
KILL ANALYZE <ID>
```

手动采集任务的任务 ID 可以在 SHOW ANALYZE STATUS 中查看。自定义自动采集任务的任务 ID 可以在 SHOW ANALYZE JOB 中查看。

## 相关文档

[SHOW ANALYZE STATUS](/documents/cn/4.2/sql-reference/sql-statements/cbo_stats/SHOW_ANALYZE_STATUS.md)

[SHOW ANALYZE JOB](/documents/cn/4.2/sql-reference/sql-statements/cbo_stats/SHOW_ANALYZE_JOB.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.