# Configuration Section: Table Configuration

+ **`target-tables:`** Which tables this configuration is applied to
+ **`range:`** The `WHERE` syntax for rows matching
+ **`index-fields:`** Specifies the column used to divide data into chunks
+ **`chunk-size:`** Specifies the size of the chunk for dividing the table
+ **`ignore-columns:`** Ignores checking certain columns 
+ **`collation:`** Specifies the `collation` for the table

```
######################### ~!@Table config@!~ #########################

[table-configs.config1]
    target-tables = ["schema*.test*", "test2.t2"]
    range = "age > 10 AND age < 20"
    index-fields = ["col1","col2"]
    ignore-columns = ["",""]
    chunk-size = 0
    collation = ""
```

-------------------------------------------------------------
`Table configuration` sample:
```
######################### Table config #########################
# Special configurations for specific tables. The tables to be configured must be in `task.target-check-tables`.
[table-configs.config1] # config1  is the only custom ID for this configuration. It is used for the above `task.target-configs` configuration.
# The name of the target table, you can use regular expressions to match multiple tables, but one table is not allowed to be matched by multiple special configurations at the same time.
target-tables = ["schema*.test*", "test2.t2"]
# (optional) Specifies the range of the data to be checked
# It needs to comply with the syntax of the WHERE clause in SQL.
range = "age > 10 AND age < 20"
# (optional) Specifies the column used to divide data into chunks. If you do not configure it,
# sync-diff-inspector chooses an appropriate column (primary key, unique key, or a field with index).
index-fields = ["col1","col2"]
# (optional) Ignores checking some columns such as some types (json, bit, blob, etc.)
# that sync-diff-inspector does not currently support.
# The floating-point data type behaves differently in TiDB and MySQL. You can use
# `ignore-columns` to skip checking these columns.
ignore-columns = ["",""]
# (optional) Specifies the size of the chunk for dividing the table. If not specified, this configuration can be deleted or be set as 0. Default is 50,000 rows.
chunk-size = 0
# (optional) Specifies the "collation" for the table. If not specified, this configuration can be deleted or be set as an empty string.
collation = ""
```