Skip to content

Commit

Permalink
add config unit for tidb_adaptive_closest_read_threshold (#13697) (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored May 5, 2023
1 parent d1be145 commit 2cd959a
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 @@ -583,6 +583,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count';
- 是否持久化到集群:是
- 默认值:`4096`
- 取值范围:`[0, 9223372036854775807]`
- 单位:字节
- 这个变量用于控制当 [`replica-read`](#tidb_replica_read-从-v40-版本开始引入) 设置为 `closest-adaptive` 时,优先将读请求发送至 TiDB server 所在区域副本的阈值。当读请求预估的返回结果的大小超过此阈值时,TiDB 会将读请求优先发送至同一可用区的副本,否则会发送至 leader 副本。
### `tidb_allow_batch_cop` <span class="version-mark">从 v4.0 版本开始引入</span>
Expand Down

0 comments on commit 2cd959a

Please sign in to comment.