Giter VIP home page Giter VIP logo

dm's Introduction

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.

dm's People

Contributors

csuzhangxc avatar amyangfei avatar wangxiangustc avatar lichunzhu avatar ianthereal avatar gmhdbjd avatar kennytm avatar 3pointer avatar holys avatar linuxgit avatar dependabot[bot] avatar kuri-su avatar ericsyh avatar suzaku avatar liubo0127 avatar little-wallace avatar july2993 avatar nolouch avatar baurine avatar ddatsh avatar zhouqiang-cl avatar chenlx0 avatar hanfei1991 avatar ran-huang avatar se-bin avatar ciscoxll avatar siddontang avatar wilanhuang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.