Skip to content

Commit

Permalink
Update best-practices/high-concurrency-best-practices.md
Browse files Browse the repository at this point in the history
Co-authored-by: xixirangrang <[email protected]>
  • Loading branch information
Frank945946 and hfxsd authored Nov 22, 2024
1 parent d0ac1e0 commit 8e30b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion best-practices/high-concurrency-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ ORDER BY
以下全局变量会影响 `PRE_SPLIT_REGIONS` 的行为,需要特别注意:

+ `tidb_scatter_region`:该变量用于控制建表完成后是否等待预切分和打散 Region 完成后再返回结果。如果建表后有大批量写入,需要设置该变量值为 `GLOBAL`,表示等待所有 Region 都切分和打散完成后再返回结果给客户端。否则未打散完成就进行写入会对写入性能影响有较大的影响。
+ [`tidb_scatter_region`](/system-variables.md#tidb_scatter_region):该变量用于控制建表完成后是否等待预切分和打散 Region 完成后再返回结果。如果建表后有大批量写入,需要设置该变量值为 `GLOBAL`,表示等待所有 Region 都切分和打散完成后再返回结果给客户端。否则未打散完成就进行写入会对写入性能影响有较大的影响。

示例:

Expand Down

0 comments on commit 8e30b11

Please sign in to comment.