Skip to content

Commit

Permalink
system-variables: write the version info of tidb_read_consistency in …
Browse files Browse the repository at this point in the history
…Chinese (#15201) (#15224)
  • Loading branch information
ti-chi-bot authored Oct 18, 2023
1 parent 5340640 commit f746e4d
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 @@ -3636,7 +3636,7 @@ EXPLAIN FORMAT='brief' SELECT COUNT(1) FROM t WHERE a = 1 AND b IS NOT NULL;
- 该变量用于优化时间戳的获取,适用于悲观事务 `READ-COMMITTED` 隔离级别下点写冲突较少的场景。开启此变量可以避免点写语句获取全局时间戳带来的延迟和开销。目前该变量适用的点写语句包括 `UPDATE``DELETE``SELECT ...... FOR UPDATE` 三种类型。点写语句是指将主键或者唯一键作为过滤条件且最终执行算子包含 `POINT-GET` 的写语句。
- 如果点写冲突较为严重,开启此变量会增加额外开销和延迟,造成性能回退。更详细的说明,请参考[读已提交隔离级别 (Read Committed) 文档](/transaction-isolation-levels.md#读已提交隔离级别-read-committed)。

### `tidb_read_consistency` <span class="version-mark">New in v5.4.0</span>
### `tidb_read_consistency` <span class="version-mark">v5.4.0 版本开始引入</span>

- 作用域:SESSION
- 类型:字符串
Expand Down

0 comments on commit f746e4d

Please sign in to comment.