Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

op-guide, tools: Recommend mydumper from enterprise tools #644

Merged
merged 12 commits into from
Oct 11, 2018
4 changes: 2 additions & 2 deletions op-guide/backup-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cd tidb-enterprise-tools-latest-linux-amd64

You can use `mydumper` to export data from MySQL and `loader` to import the data into TiDB.

> **Note**: Although TiDB also supports the official `mysqldump` tool from MySQL for data migration, it is not recommended to use it. Its performance is much lower than `mydumper`/`loader` and it takes much time to migrate large amounts of data. `mydumper`/`loader` is more powerful. For more information, see https://github.com/maxbube/mydumper.
> **Important**: You must use the `mydumper` from the Enterprise Tools package, and not the `mydumper` provided by your operating system's package manager. The upstream version of `mydumper` does not yet handle TiDB correctly ([#155](https://github.com/maxbube/mydumper/pull/155)). Using `mysqldump` is also not recommended, as it is much slower for both backup and restoration.

### Best practices of full backup and restoration using `mydumper`/`loader`

Expand Down Expand Up @@ -119,4 +119,4 @@ mysql> select * from t2;
| 2 | b |
| 3 | c |
+----+------+
```
```