Skip to content

Commit

Permalink
add doc for experimental variable tidb_store_batch_size (#12252)
Browse files Browse the repository at this point in the history
  • Loading branch information
you06 authored Dec 9, 2022
1 parent ec33399 commit 6131ac0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -3092,6 +3092,19 @@ Query OK, 0 rows affected, 1 warning (0.00 sec)
- 单位:秒
- 这个变量设置了 [statement summary tables](/statement-summary-tables.md) 的刷新时间。
### `tidb_store_batch_size`
> **警告:**
>
> 目前 `tidb_store_batch_size` 尚未稳定,未来此变量可能会删除,不建议业务依赖此变量或在生产环境中使用,请保留默认值。
- 作用域:SESSION | GLOBAL
- 是否持久化到集群:是
- 类型:整数
- 默认值:`0`
- 范围:`[0, 25000]`
- 设置 `IndexLookUp` 算子回表时多个 Coprocessor Task 的 batch 大小。`0` 代表不使用 batch。当 `IndexLookUp` 算子的回表 Task 数量特别多,出现极长的慢查询时,可以适当调大该参数以加速查询。
### `tidb_streamagg_concurrency`
- 作用域:SESSION | GLOBAL
Expand Down

0 comments on commit 6131ac0

Please sign in to comment.