Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

pingcap/dm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Project moved ⚠️

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 Platform

Build Status GitHub release Coverage Status codecov Go Report Card FOSSA Status

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.

Architecture

architecture

Documentation

Building

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 tests

Run all tests, including unit tests and integration tests:

See test/README.md for a more detailed guidance.

make test

Installing

See the "Deploy" section in our doc

Config File

See the "Configuration" section in our doc

Roadmap

Read the Roadmap.

Contributing

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.

License

DM is under the Apache 2.0 license. See the LICENSE file for details.

FOSSA Status

More resources