Skip to content

pingcap/tidb-tools

Repository files navigation

tidb-tools

tidb-tools are some useful tool collections for TiDB.

How to build

make build # build all tools

make importer # build importer

make sync_diff_inspector # build sync_diff_inspector

make ddl_checker  # build ddl_checker

When tidb-tools are built successfully, you can find the binary in the bin directory.

Tool list

  • importer

    A tool for generating and inserting data to any database which is compatible with the MySQL protocol, like MySQL and TiDB.

  • sync_diff_inspector

    A tool for comparing two databases' data and outputting a brief report about the differences.

  • ddl_checker

    A tool for checking if DDL SQL can be successfully executed by TiDB.

License

Apache 2.0 license. See the LICENSE file for details.