dm

Data Migration Platform

  • 所有者: pingcap/dm
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Data Migration Platform

Build Status
GitHub release
Coverage Status
codecov
Go Report Card

DM is an integrated platform, supports migrating data from MySQL/MariaDB to TiDB.

Architecture

architecture

Documentation

Building

To check the code style and build binaries, you can simply run:

make build

Notice DM supports building with Go version Go >= 1.11.4, 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 Test

Run all tests, including unit test and integration test

make test

Installing

  • The best way to install DM is via DM-Ansible
  • deploy DM manually
    # Download the DM package.
    wget http://download.pingcap.org/dm-latest-linux-amd64.tar.gz
    wget http://download.pingcap.org/dm-latest-linux-amd64.sha256
    
    # Check the file integrity. If the result is OK, the file is correct.
    sha256sum -c dm-latest-linux-amd64.sha256
    
    # Extract the package.
    tar -xzf dm-latest-linux-amd64.tar.gz
    cd dm-latest-linux-amd64
    

Config File

  • all sample config files can be found in directory conf of dm tarball
  • sample config file of dm-master: bin/dm-master -print-sample-config
  • sample config file of dm-worker: bin/dm-worker -print-sample-config

Contributing

Contributions are welcomed and greatly appreciated. See CONTRIBUTING.md
for details on submitting patches and the contribution workflow.

License

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

主要指标

概览
名称与所有者pingcap/dm
主编程语言Go
编程语言Makefile (语言数: 11)
平台
许可证Apache License 2.0
所有者活动
创建于2019-01-16 02:13:45
推送于2022-05-09 08:28:36
最后一次提交2022-05-09 16:28:36
发布数29
最新版本名称v2.0.7-20211224 (发布于 )
第一版名称v1.0.0-alpha (发布于 2019-01-21 16:57:25)
用户参与
星数458
关注者数110
派生数189
提交数1.1k
已启用问题?
问题数568
打开的问题数117
拉请求数1530
打开的拉请求数10
关闭的拉请求数140
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?