Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightning: document logical-import-batch-{size,rows} #16790

Merged
merged 9 commits into from
Mar 25, 2024
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
hfxsd authored Mar 22, 2024
commit 4a2050dcdcfe848e6cdbe16c5a2de7867337541d
4 changes: 2 additions & 2 deletions tidb-lightning/tidb-lightning-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ strategy = ""
# This parameter is introduced in v8.0.0.
# This is the desired size of the VALUES part of each INSERT or REPLACE statement executed in a single transaction.
# This is not a hard limit. The actual SQL executed might be longer or shorter, depending on the actual content imported.
# The default value is `96KiB`, which is optimized for import speed when TiDB Lightning is the only client of the cluster.
# The default value is "96KiB", which is optimized for import speed when TiDB Lightning is the only client of the cluster.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
# Because of implementation details of TiDB Lightning, the value is capped at 96 KiB. Larger values are ignored.
# You can decrease this value to reduce the stress on the cluster due to large transactions.
# logical-import-batch-size = '96KiB'
# logical-import-batch-size = "96KiB"

# In Logical Import Mode, this parameter controls the maximum number of rows inserted per transaction.
# This parameter is introduced in v8.0.0. The default value is `65536` rows.
Expand Down
Loading