mysql导出 TIDB导入
tiup dumpling -h 10.10.14.229 -P 22066 -u root -p 123456 -t 16 -r 200000 -F 256MiB -B test_db -o 's3://dsideal/HuangHai/TiDB?access-key=AK&secret-access-key=SK&endpoint=https://obs.myhuaweicloud.com'
[lightning]
level = "info"
file = "tidb-lightning.log"
[tikv-importer]
backend = "local"
sorted-kv-dir = "/usr/local/test"
[mydumper]
data-source-dir = 's3://dsideal/HuangHai/TiDB?access-key=HZDE30KAN5C5OLJ9JCCF&secret-access-key=3QO1IJNRrFZyER1e1NBBu4qSyqDfZ8Xup0YPzDFW&endpoint=https://obs.myhuaweicloud.com'
[tidb]
host = "10.10.14.228"
port = 4000
user = "root"
password = "uF24t@em$1D=Yq_569"
status-port = 10080
pd-addr = "10.10.14.228:2379"
tiup tidb-lightning -config tidb-lightning.toml