KaKeimei / dumpling

Dumpling is a fast, easy-to-use tool written by Go for dumping data from the database(MySQL, TiDB...) to local/cloud(S3, GCP...) in multifarious formats(SQL, CSV...).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🥟 Dumpling

Build Status codecov API Docs Go Report Card FOSSA Status Discuss in Slack

Dumpling is a tool and a Go library for creating SQL dump from a MySQL-compatible database. It is intended to replace mysqldump and mydumper when targeting TiDB.

You may read the design document, English user guide and 中文使用手册 for details.

Features

Dumpling is currently in early development stage, and most features are incomplete. Contributions are welcomed!

  • SQL dump is split into multiple files (like mydumper) for easy management.
  • Export multiple tables in parallel to speed up execution.
  • Multiple output formats: SQL, CSV, ...
  • Write to cloud storage (S3, GCS) natively
  • Advanced table filtering

Any questions? Let's discuss in #sig-migrate in Slack!

Building

  1. Install Go 1.16 or above
  2. Run make build to compile. The output is in bin/dumpling.
  3. Run make test to run the unit tests.
  4. Run make integration_test to run integration tests. For integration test:

License

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

FOSSA Status

About

Dumpling is a fast, easy-to-use tool written by Go for dumping data from the database(MySQL, TiDB...) to local/cloud(S3, GCP...) in multifarious formats(SQL, CSV...).

License:Apache License 2.0


Languages

Language:Go 87.8%Language:Shell 10.5%Language:Makefile 1.7%