This repository has been moved to https://github.com/pingcap/tiflow/tree/master/dm. Discussions before: https://internals.tidb.io/t/topic/461.
TiDB Data Migration (DM) is an integrated data migration task management platform that supports full data migration and incremental data replication from MySQL/MariaDB into TiDB. It helps reduce the operations cost and simplify the troubleshooting process.
To check the code style and build binaries, you can simply run:
make build
Note that DM supports building with Go version Go >= 1.16
, and unit test preparation can be found in Running/Unit Test
If you only want to build binaries, you can run:
make dm-worker # build DM-worker
make dm-master # build DM-master
make dmctl # build dmctl
When DM is built successfully, you can find binaries in the bin
directory.
Run all tests, including unit tests and integration tests:
See test/README.md for a more detailed guidance.
make test
See the "Deploy" section in our doc
See the "Configuration" section in our doc
Read the Roadmap.
Contributions are welcomed and greatly appreciated. See CONTRIBUTING.md for details on submitting patches and the contribution workflow.
Any questions? Let's discuss on TiDB Internals forum.
DM is under the Apache 2.0 license. See the LICENSE file for details.