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 auto-id-cache-size config #20228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dm/task-configuration-file-full.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ syncers:
# `DELETE FROM tb WHERE a=1; DELETE FROM tb WHERE a=2` will become `DELETE FROM tb WHERE (a) IN (1),(2)`, where "a" is the primary key
multiple-rows: true

# When set to a value greater than 0, DM will set the AUTO_ID_CACHE size for any newly-created AUTO_INCREMENT tables to the relevant value.
# For example, if set to 30, the statement: `CREATE TABLE tb (`id` INT AUTO_INCREMENT);` will be updated to `CREATE TABLE tb (`id` INT AUTO_INCREMENT) /*T![auto_id_cache] AUTO_ID_CACHE = 30 */;`
auto-id-cache-size: 0

# Configuration arguments of continuous data validation (validator).
validators:
global: # Configuration name.
Expand Down