# What the Sync-diff-inspector Does

__*sync-diff-inspector function*__

+ Comparing table schema and data
+ Generate SQL statements to repair data
+ Support for data sources and data targets
  + Data validation for different library or table names
  + Data database sharding and sharding scenario
  + Data Validation for TiDB Master-Slave Clusters
  + Data Validation for Pulling Configured from TiDB DM

-------------------------------------------------------------
Comparing table schema and data
Generates SQL statements to fix the data if the data is inconsistent
Support data validation for different library names or table names
Support data verification database sharding tabulation scenario
Support data validation for TiDB master/slave clusters
Support data validation for configuration pull from TiDB DM