Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#5988
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <[email protected]>
  • Loading branch information
Liuxiaozhen12 authored and ti-chi-bot committed Jul 16, 2021
1 parent e3dcb45 commit 1929643
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,16 @@ Constraint checking is always performed in place for pessimistic transactions (d
- This variable is used to set the threshold value of memory quota for a query.
- If the memory quota of a query during execution exceeds the threshold value, TiDB performs the operation designated by the OOMAction option in the configuration file. The initial value of this variable is configured by [`mem-quota-query`](/tidb-configuration-file.md#mem-quota-query).

<<<<<<< HEAD
=======
### tidb_memory_usage_alarm_ratio

- 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).

>>>>>>> 93009172f (Change tidb_memory_usage_alarm_ratio scope to instance (#5988))
### tidb_metric_query_range_duration <span class="version-mark">New in v4.0</span>

- Scope: SESSION
Expand Down

0 comments on commit 1929643

Please sign in to comment.