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

dm: add newly added lightning kv configurations #13004

Merged
merged 7 commits into from
Mar 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions dm/task-configuration-file-full.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,18 @@ loaders:
# If checksum fails, the import is abnormal, which means the data is inconsistent or lost.
# Therefore, it is recommended to always enable checksum.
checksum-physical: "required"
# Only available for physical import. Determines whether to perform the `ANALYZE TABLE <table>` operation for each table after the CHECKSUM process is completed.
# - "required" (default). Indicates that the Analyze operation will be performed after the import is complete. If the analysis fails, the task will pause and require manual processing by the user.
# - "optional". Indicates that the data will be analyzed after the import is complete. If the analysis fails, a warning log will be printed and the task will not be paused.
# - "off". Indicates that no data analysis will be performed after the import is complete.
# Analyze only affects statistics data and it is recommended that Analyze is set to off in most scenarios.
analyze: "off"
# Only available for physical import. The concurrency of sending KV data to TiKV. This can be increased when the direct network transfer speed between dm-worker and TiKV exceeds 10,000 Mb/s.
# range-concurrency: 16
# Only available for physical import mode. Whether to enable compression when sending KV data to TiKV. Currently, only Gzip compression is supported and can be specified using either "gzip" or "gz". Compression is not enabled by default.
# compress-kv-pairs: ""
# One or more PD server addresses. If no address is specified, use the PD address information from the TiDB query by default.
# pd-addr: "192.168.0.1:2379"

# Configuration arguments of the sync processing unit.
syncers:
Expand Down