Skip to content

Commit

Permalink
Change tidb_memory_usage_alarm_ratio scope to instance (pingcap#6409)
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 authored and 3AceShowHand committed Jul 27, 2021
1 parent f75b5b0 commit 8787ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ v5.0 后,用户仍可以单独修改以上系统变量(会有废弃警告)

### `tidb_memory_usage_alarm_ratio`

- 作用域:SESSION
- 作用域:`INSTANCE`
- 默认值:`0.8`
- TiDB 内存使用占总内存的比例超过一定阈值时会报警。该功能的详细介绍和使用方法可以参考 [`memory-usage-alarm-ratio`](/tidb-configuration-file.md#memory-usage-alarm-ratio-从-v409-版本开始引入)。
- 该变量的初始值可通过 [`memory-usage-alarm-ratio`](/tidb-configuration-file.md#memory-usage-alarm-ratio-从-v409-版本开始引入) 进行配置。
Expand Down

0 comments on commit 8787ec4

Please sign in to comment.