Skip to content

Commit

Permalink
tidb-lightning: add block-size (pingcap#16231)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyzx2001 authored Jan 22, 2024
1 parent 1c5b71b commit b288c49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tidb-lightning/tidb-lightning-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ addr = "172.16.31.10:8287"
# 该参数自 v7.1.0 版本开始引入。
# region-check-backoff-limit = 1800

# 物理导入模式下,用于控制本地排序文件的 I/O 块大小。当 IOPS 成为瓶颈时,可以将该参数的值调大。
# 该参数自 v7.6.0 版本开始引入。默认值为 "16KiB"。
# block-size = "16KiB"

[mydumper]
# 设置文件读取的区块大小,确保该值比数据源的最长字符串长。
read-block-size = "64KiB" # 默认值
Expand Down

0 comments on commit b288c49

Please sign in to comment.