Skip to content

Conversation

@csuzhangxc
Copy link
Member

What is changed, added or deleted? (Required)

update the ecosystem tools user guide to make it clearer.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

@csuzhangxc csuzhangxc requested a review from IANTHEREAL June 4, 2020 10:07

- 使用 Mydumper 进行全量数据的备份
- 使用 TiDB Lightning 进行全量数据的恢复
当需要订阅 TiDB 增量数据的变更时,可使用 [TiDB Binlog](/tidb-binlog/tidb-binlog-overview.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

定位到 tidb binlog 增量订阅文档?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bcd27f2 里定位到了比较接近的 [Binlog Slave Client 用户文档],看看是否满意。

当需要对 TiDB 集群进行备份或在之后对 TiDB 集群进行恢复时,可使用 [BR](/br/backup-and-restore-tool.md)

使用 TiDB-Binlog 将 TiDB 数据同步到下游 TiDB/MySQL
另外,BR 也可以对 TiDB 的增量数据进行备份和恢复
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

定位到 BR 增量备份相关章节内容吧

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bcd27f2 定位了。

- DM 的输出:以 SQL 形式写入 TiDB
- 适用 TiDB 版本:所有版本
- Kubernetes 支持:开发中
### 增量导出
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个就叫做 TiDB Binlog 吧,总感觉增量导出,有点怪怪的

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bcd27f2 里改了

@IANTHEREAL
Copy link
Contributor

IANTHEREAL commented Jun 4, 2020

LGTM

@IANTHEREAL
Copy link
Contributor

@kennytm PTAL

@kennytm
Copy link
Contributor

kennytm commented Jun 4, 2020

Rest LGTM

Co-authored-by: kennytm <kennytm@gmail.com>
当需要将其他工具导出的格式兼容的 CSV files 导入到 TiDB 时,可使用 [TiDB Lightning](/tidb-lightning/migrate-from-csv-using-tidb-lightning.md)

下面将分别介绍这两类工具。
### 从 MySQL/Aurora 导入全量数据
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全量数据迁移

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里讲场景,而不是功能,所以带上 mysql/aurora。 类似于 https://www.cockroachlabs.com/docs/stable/migration-overview.html

当需要从 MySQL/Aurora 导入全量数据时,可先使用 [Dumpling](/export-or-backup-using-dumpling.md) 将数据导出为 SQL dump files,然后再使用 [TiDB Lightning](/tidb-lightning/tidb-lightning-overview.md) 将数据导入到 TiDB 集群。

#### 全量导入工具 Loader(停止维护,不推荐使用)
### 从 MySQL/Aurora 迁移数据
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

增量数据同步

@lilin90 lilin90 added needs-cherry-pick-3.1 translation/welcome Waits for a contributor to translate this PR and create a PR to the pingcap/docs-cn repository. labels Jun 5, 2020
@lilin90 lilin90 requested a review from yikeke June 5, 2020 04:02
Copy link
Contributor

@yikeke yikeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yikeke yikeke removed the translation/welcome Waits for a contributor to translate this PR and create a PR to the pingcap/docs-cn repository. label Jun 5, 2020
csuzhangxc and others added 3 commits June 5, 2020 15:30
Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
@IANTHEREAL
Copy link
Contributor

LGTM

@IANTHEREAL
Copy link
Contributor

@yikeke PTAL

Copy link
Contributor

@yikeke yikeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yikeke
Copy link
Contributor

yikeke commented Jun 5, 2020

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 5, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Jun 5, 2020

/run-all-tests

@sre-bot sre-bot merged commit 5b41392 into pingcap:master Jun 5, 2020
sre-bot pushed a commit to sre-bot/docs-cn that referenced this pull request Jun 5, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 5, 2020

cherry pick to release-3.1 in PR #3512

@csuzhangxc csuzhangxc deleted the refine-tools branch June 5, 2020 07:58
sre-bot pushed a commit to sre-bot/docs-cn that referenced this pull request Jun 5, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 5, 2020

cherry pick to release-4.0 in PR #3513

yikeke pushed a commit that referenced this pull request Jun 5, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>

Co-authored-by: Xuecheng Zhang <csuzhangxc@gmail.com>
yikeke added a commit that referenced this pull request Jun 5, 2020
* cherry pick #3497 to release-3.1

Signed-off-by: sre-bot <sre-bot@pingcap.com>

* Update TOC.md

* manually cp from #3151

* relocate

* *: remove content about CDC

Co-authored-by: Xuecheng Zhang <csuzhangxc@gmail.com>
Co-authored-by: yikeke <yikeke@pingcap.com>
Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
@ran-huang ran-huang added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR’s assignee is translating this PR. labels Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/can-merge Indicates a PR has been approved by a committer. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants