tidb数据校验
环境
tidb4.0.2
mysql8.0.20
校验MySQL同步到tidb
配置
[root@dev10 bin]# cat config.toml
log-level="info"
chunk-size=2000
check-thread-count=5
sample-percent=100
use-checksum=true
only-use-checksum=false
use-checkpoint=true
ignore-data-check=false
fix-sql-file="fix.sql"
[[check-tables]]
schema="public"
tables=["pec_queue_log"]
[[source-db]]
host="10.96.141.33"
port=3306
user="dev_manage"
password="Re&GvaNELSeviw#A"
instance-id="source-1"
[target-db]
host="10.105.1.171"
port=4000
user="root"
password=""
./sync_diff_inspector --config=./config.toml