From 93009172f5a93fe7eb8e499a1f23b08f4bd0a22f Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Fri, 16 Jul 2021 18:01:33 +0800 Subject: [PATCH] Change tidb_memory_usage_alarm_ratio scope to instance (#5988) --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index cf4dbc4929b1f..40d2933076cd1 100644 --- a/system-variables.md +++ b/system-variables.md @@ -938,7 +938,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified ### tidb_memory_usage_alarm_ratio -- Scope: SESSION +- Scope: INSTANCE - Default value: `0.8` - TiDB triggers an alarm when the percentage of the memory it takes exceeds a certain threshold. For the detailed usage description of this feature, see [`memory-usage-alarm-ratio`](/tidb-configuration-file.md#memory-usage-alarm-ratio-new-in-v409). - You can set the initial value of this variable by configuring [`memory-usage-alarm-ratio`](/tidb-configuration-file.md#memory-usage-alarm-ratio-new-in-v409).