Skip to content

dumpling-overview: Suggest 256 MB or less as file size#6053

Merged
ti-chi-bot merged 10 commits into
pingcap:masterfrom
Joyinqin:dumpling-patch
Apr 28, 2021
Merged

dumpling-overview: Suggest 256 MB or less as file size#6053
ti-chi-bot merged 10 commits into
pingcap:masterfrom
Joyinqin:dumpling-patch

Conversation

@Joyinqin
Copy link
Copy Markdown
Contributor

@Joyinqin Joyinqin commented Apr 19, 2021

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)

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

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 19, 2021
@Joyinqin
Copy link
Copy Markdown
Contributor Author

/label needs-cherry-pick-5.0
/label needs-cherry-pick-4.0
/translation from-docs

@ti-chi-bot ti-chi-bot added translation/from-docs This PR is translated from a PR in pingcap/docs. needs-cherry-pick-5.0 and removed missing-translation-status This PR does not have translation status info. labels Apr 19, 2021
@Joyinqin
Copy link
Copy Markdown
Contributor Author

/cc @TomShawn @lichunzhu

Comment thread dumpling-overview.md Outdated
默认情况下,导出的文件会存储到 `./export-<current local time>` 目录下。常用选项如下:

- `-t` 用于指定导出的线程数。增加线程数会增加 Dumpling 并发度,但也会加大数据库内存消耗,因此不宜设置过大。
- `-o` 用于选择存放导出文件的目录。
Copy link
Copy Markdown
Contributor

@TomShawn TomShawn Apr 19, 2021

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated~

@ti-chi-bot ti-chi-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 20, 2021
@ti-chi-bot ti-chi-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 20, 2021
Comment thread dumpling-overview.md Outdated
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
@lichunzhu
Copy link
Copy Markdown
Contributor

To me -F isn't a concurrency option. Should we still put this line here or somewhere else?

@TomShawn
Copy link
Copy Markdown
Contributor

To me -F isn't a concurrency option. Should we still put this line here or somewhere else?

This PR is translated from pingcap/docs#5328. If this is not the perfect place for -F, do you have any good idea where to put it?

@lichunzhu
Copy link
Copy Markdown
Contributor

To me -F isn't a concurrency option. Should we still put this line here or somewhere else?

This PR is translated from pingcap/docs#5328. If this is not the perfect place for -F, do you have any good idea where to put it?

Put to here? Not so sure.

@TomShawn
Copy link
Copy Markdown
Contributor

To me -F isn't a concurrency option. Should we still put this line here or somewhere else?

This PR is translated from pingcap/docs#5328. If this is not the perfect place for -F, do you have any good idea where to put it?

Put to here? Not so sure.

No problem.

Comment thread dumpling-overview.md Outdated
默认情况下,导出的文件会存储到 `./export-<current local time>` 目录下。常用选项如下:

- `-t` 用于指定导出的线程数。增加线程数会增加 Dumpling 并发度,但也会加大数据库内存消耗,因此不宜设置过大。
- `-F` 选项用于指定单个文件的最大大小(单位为 `MiB`,可接受类似 `5GiB` 或 `8KB` 的输入)。如果你想使用 TiDB Lightning 将该文件加载到 TiDB 实例中,建议将 `-F` 选项的值保持在 256 MiB 或以下。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Joyinqin Please move this line to line 72 and also update the English version. Thanks!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

Copy link
Copy Markdown
Contributor

@TomShawn TomShawn left a comment

Choose a reason for hiding this comment

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

/label-require LGT1

@ti-chi-bot
Copy link
Copy Markdown
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • TomShawn

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Details

Reviewer can indicate their review by writing /lgtm in a comment.
Reviewer can cancel approval by writing /lgtm cancel in a comment.

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 27, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

/label require-LGT1

@lichunzhu
Copy link
Copy Markdown
Contributor

/lgtm

@TomShawn
Copy link
Copy Markdown
Contributor

/merge

@ti-chi-bot
Copy link
Copy Markdown
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: 4948c9b

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 28, 2021
@ti-chi-bot ti-chi-bot merged commit 738e95d into pingcap:master Apr 28, 2021
ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Apr 28, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Copy Markdown
Contributor

cherry pick to release-4.0 in PR #6187

ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Apr 28, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Copy Markdown
Contributor

cherry pick to release-5.0 in PR #6188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

require-LGT1 Indicates that the PR requires an LGTM. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1. translation/from-docs This PR is translated from a PR in pingcap/docs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants