# sync-diff-inspector 的使用 - 启动校验

__*sync-diff-inspector 使用*__
__*sync-diff-inspector 启动校验*__

+ `sync_diff_inspector --config=./config.toml`

```
A total of 4 tables need to be compared

Comparing the table structure of ``test`.`T3`` ... equivalent
Comparing the table structure of ``test`.`T2`` ... equivalent
Comparing the table structure of ``test`.`T4`` ... equivalent
Comparing the table structure of ``test`.`T1`` ... equivalent
Comparing the table data of ``test`.`T3`` ... equivalent
Comparing the table data of ``test`.`T2`` ... equivalent
Comparing the table data of ``test`.`T1`` ... equivalent
Comparing the table data of ``test`.`T4`` ... equivalent
_____________________________________________________________________________
Progress [============================================================>] 100% 0/0
A total of 4 table have been compared and all are equal.
You can view the comparison details through './output/sync_diff.log'
```
-------------------------------------------------------------

该命令最终会在 config.toml 中的 output-dir 输出目录输出本次比对的检查报告 summary.txt 和日志 sync_diff.log。在输出目录下还会生成由 config.toml 文件内容哈希值命名的文件夹,该文件夹下包括断点续传 checkpoint 结点信息以及数据存在不一致时生成的 SQL 修复数据。