dumpling-overview: Suggest 256 MB or less as file size#6053
Conversation
|
/label needs-cherry-pick-5.0 |
|
/cc @TomShawn @lichunzhu |
| 默认情况下,导出的文件会存储到 `./export-<current local time>` 目录下。常用选项如下: | ||
|
|
||
| - `-t` 用于指定导出的线程数。增加线程数会增加 Dumpling 并发度,但也会加大数据库内存消耗,因此不宜设置过大。 | ||
| - `-o` 用于选择存放导出文件的目录。 |
There was a problem hiding this comment.
This is an outdated version. Please align the latest version of this doc: https://github.com/pingcap/docs/blob/master/dumpling-overview.md#improve-export-efficiency-through-concurrency
This reverts commit a18cd88.
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
|
To me |
This PR is translated from pingcap/docs#5328. If this is not the perfect place for |
Put to here? Not so sure. |
No problem. |
| 默认情况下,导出的文件会存储到 `./export-<current local time>` 目录下。常用选项如下: | ||
|
|
||
| - `-t` 用于指定导出的线程数。增加线程数会增加 Dumpling 并发度,但也会加大数据库内存消耗,因此不宜设置过大。 | ||
| - `-F` 选项用于指定单个文件的最大大小(单位为 `MiB`,可接受类似 `5GiB` 或 `8KB` 的输入)。如果你想使用 TiDB Lightning 将该文件加载到 TiDB 实例中,建议将 `-F` 选项的值保持在 256 MiB 或以下。 |
There was a problem hiding this comment.
@Joyinqin Please move this line to line 72 and also update the English version. Thanks!
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by writing |
|
/label require-LGT1 |
|
/lgtm |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 4948c9b |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-4.0 in PR #6187 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.0 in PR #6188 |
First-time contributors' checklist
What is changed, added or deleted? (Required)
This is because lightning is suggesting this for non-CSV files.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?