mysql一体化管理平台_Data Migration 是一体化数据同步任务管理平台,支持全量备份和 MariaDB/MySQL binlog 增量同步...

Data Migration Platform

68747470733a2f2f696e7465726e616c2e70696e676361702e6e65742f6964632d6a656e6b696e732f6a6f622f6275696c645f646d5f6d61737465722f62616467652f69636f6e68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f70696e676361702f646d2e73766768747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70696e676361702f646d2f62616467652e73766768747470733a2f2f636f6465636f762e696f2f67682f70696e676361702f646d2f6272616e63682f6d61737465722f67726170682f62616467652e73766768747470733a2f2f676f7265706f7274636172642e636f6d2f62616467652f6769746875622e636f6d2f70696e676361702f646d

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

Architecture

dm-architecture.png

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值