# Using the Sync-diff-inspector - Configuration Files

__*Using sync-diff-inspector*__
__*sync-diff-inspector configuration file*__

```
########################### Routes ###########################

[routes]

[routes.rule1] 

schema-pattern = “test1"
target-schema = "test"
```

-------------------------------------------------------------
########################### Routes #########################
# If You Need to Compare the Data of a Large Number of Tables with Different Library Names or Table Names, or to Verify the Data of Multiple Upstream Sharded Sharded Table and Downstream Combined Table, You Can Use Table-rule to Set the Mapping Relationship
# You Can Configure Only Schema or Table Mapping Relationships, or Both
[routes]
[routes.rule1] # rule1 is a custom id that uniquely identifies this configuration and is used in the data-sources.route-rules above
schema-pattern="test1" # matches the library name of the data source, supports wildcards "*" and "?"
target-schema = "test" # target library name