Skip to content

Commit

Permalink
Update system-variables.md
Browse files Browse the repository at this point in the history
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
  • Loading branch information
cfzjywxk and hfxsd authored Aug 2, 2024
1 parent 76601b9 commit 316b0c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -2295,6 +2295,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1;

- 作用域:SESSION | GLOBAL
- 是否持久化到集群:是
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:否
- 类型:布尔型
- 默认值:`OFF`
- 该变量用于控制是否启用共享锁升级为排他锁的功能。当该变量值为 `ON` 时,TiDB 会尝试将共享锁升级为排他锁,以减少死锁的概率。该变量默认值为 `OFF`,表示不启用共享锁升级为排他锁的功能。
Expand Down

0 comments on commit 316b0c9

Please sign in to comment.