这是我之前比对单表的一个配置文件,可以参考下
check-thread-count = 16
export-fix-sql = true
check-struct-only = false
[data-sources]
[data-sources.tidb1]
host = "xx.xx.xx.xx"
port = 4000
user = "xxx"
password = "xxxx"
snapshot = "442818765228867661"
[data-sources.tidb2]
host = "xx.xx.xx.x"
port = 4000
user = "xxxx"
password = "xxxx"
snapshot = "442818765259538435"
[task]
output-dir = "./output"
source-instances = ["tidb1"]
target-instance = "tidb2"
target-check-tables = ["xxx.xxx"]
target-configs = ["config1"]
[table-configs.config1] # config1 是该配置的唯一标识自定义 id,用于上面 task.target-configs 中
chunk-size = 10000000