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

Change tidb_memory_usage_alarm_ratio scope to instance #6409

Merged
merged 3 commits into from
Jul 6, 2021
Merged
Changes from 2 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
5 changes: 3 additions & 2 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -922,8 +922,9 @@ v5.0 后,用户仍可以单独修改以上系统变量(会有废弃警告)

### `tidb_memory_usage_alarm_ratio`

- 作用域:SESSION
- 默认值:`0.8`
- 作用域:`INSTANCE`
- 默认值:0.8

- TiDB 内存使用占总内存的比例超过一定阈值时会报警。该功能的详细介绍和使用方法可以参考 [`memory-usage-alarm-ratio`](/tidb-configuration-file.md#memory-usage-alarm-ratio-从-v409-版本开始引入)。
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- 该变量的初始值可通过 [`memory-usage-alarm-ratio`](/tidb-configuration-file.md#memory-usage-alarm-ratio-从-v409-版本开始引入) 进行配置。

Expand Down