https://github.com/pingcap/dm
Data Migration Platform
https://github.com/pingcap/dm
hacktoberfest
Last synced: 10 months ago
JSON representation
Data Migration Platform
- Host: GitHub
- URL: https://github.com/pingcap/dm
- Owner: pingcap
- License: apache-2.0
- Archived: true
- Created: 2019-01-16T02:13:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-09T08:28:36.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T17:19:00.601Z (over 1 year ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 22 MB
- Stars: 456
- Watchers: 112
- Forks: 189
- Open Issues: 127
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# :warning: Project moved :warning:
This repository has been moved to .
Discussions before: .
# TiDB Data Migration Platform
[](https://internal.pingcap.net/idc-jenkins/job/build_dm_multi_branch/job/master)

[](https://coveralls.io/github/pingcap/dm)
[](https://codecov.io/gh/pingcap/dm)
[](https://goreportcard.com/report/github.com/pingcap/dm)
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fpingcap%2Fdm?ref=badge_shield)
[**TiDB Data Migration (DM)**](https://docs.pingcap.com/tidb-data-migration/stable) is an integrated data migration task management platform that supports full data migration and incremental data replication from MySQL/MariaDB into [TiDB](https://docs.pingcap.com/tidb/stable). It helps reduce the operations cost and simplify the troubleshooting process.
## Architecture

## Documentation
* [Detailed documentation](https://docs.pingcap.com/tidb-data-migration/stable/)
* [简体中文文档](https://docs.pingcap.com/zh/tidb-data-migration/stable/)
## Building
To check the code style and build binaries, you can simply run:
```bash
make build
```
Note that DM supports building with Go version `Go >= 1.16`, and unit test preparation can be found in [Running/Unit Test](tests/README.md#Unit-Test)
If you only want to build binaries, you can run:
```bash
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](./tests/README.md) for a more detailed guidance.
```bash
make test
```
## Installing
See the "Deploy" section in [our doc](https://docs.pingcap.com/tidb-data-migration/)
## Config File
See the "Configuration" section in [our doc](https://docs.pingcap.com/tidb-data-migration/stable/config-overview)
## Roadmap
Read the [Roadmap](roadmap.md).
## Contributing
Contributions are welcomed and greatly appreciated. See [CONTRIBUTING.md](./CONTRIBUTING.md)
for details on submitting patches and the contribution workflow.
Any questions? Let's discuss on [TiDB Internals forum](https://internals.tidb.io/).
## License
DM is under the Apache 2.0 license. See the [LICENSE](./LICENSE) file for details.
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fpingcap%2Fdm?ref=badge_large)
## More resources
- TiDB blog
- [English](https://pingcap.com/blog/)
- [简体中文](https://pingcap.com/blog-cn/)
- TiDB case studies
- [English](https://pingcap.com/case-studies/)
- [简体中文](https://pingcap.com/cases-cn/)