github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/many_tables/conf/dm-task-2.yaml (about)

     1  ---
     2  name: test2
     3  task-mode: all
     4  is-sharding: false
     5  meta-schema: "dm_meta"
     6  # enable-heartbeat: true
     7  
     8  target-database:
     9    host: "127.0.0.1"
    10    port: 4000
    11    user: "root"
    12    password: ""
    13  
    14  mysql-instances:
    15    - source-id: "mysql-replica-01"
    16      block-allow-list:  "instance"
    17      mydumper-config-name: "global"
    18      loader-config-name: "global"
    19      syncer-config-name: "global"
    20      route-rules: [ "route-rule-1", "route-rule-2" ]
    21  
    22  block-allow-list:
    23    instance:
    24      do-dbs: ["many_tables_db"]
    25  
    26  routes:
    27    route-rule-1:
    28      schema-pattern: "many_tables_db"
    29      table-pattern: "t*"
    30      target-schema: "merge_many_tables_db"
    31      target-table: "t"
    32    route-rule-2:
    33      schema-pattern: "many_tables_db"
    34      target-schema: "merge_many_tables_db"
    35  
    36  mydumpers:
    37    global:
    38      threads: 4
    39      chunk-filesize: 0
    40      skip-tz-utc: true
    41      statement-size: 100
    42      extra-args: ""
    43  
    44  loaders:
    45    global:
    46      pool-size: 16
    47      dir: "./dumped_data"
    48      import-mode: "physical"
    49      disk-quota-physical: 1GB
    50  
    51  syncers:
    52    global:
    53      worker-count: 16
    54      batch: 100