Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove system variable tidb_track_aggregate_memory_usage #5704

Merged
merged 1 commit into from
Mar 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1009,16 +1009,6 @@ set tidb_slow_log_threshold = 200;
- 默认值:0
- 这个变量用于限制 TiDB 同时向 TiKV 发送的请求的最大数量,0 表示没有限制。

### `tidb_track_aggregate_memory_usage` <span class="version-mark">从 v5.0.0-rc 版本开始引入</span>

> **警告:**
>
> `tidb_track_aggregate_memory_usage` 目前为实验特性,不建议在生产环境中使用。

- 作用域:SESSION | GLOBAL
- 默认值:OFF
- 这个变量表示是否追踪聚合函数的内存使用情况。当开启该功能时,聚合函数的内存使用情况会被统计,进而可能会造成整个 SQL 内存统计值超阈值 [`mem-quota-query`](/tidb-configuration-file.md#mem-quota-query),然后被 [`oom-action`](/tidb-configuration-file.md#oom-action) 定义的行为影响。

### `tidb_txn_mode`

- 作用域:SESSION | GLOBAL
Expand Down