From 784c333fae91939c025a67685f06199e3a1be8ae Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Tue, 27 Apr 2021 10:28:02 +0800 Subject: [PATCH 1/3] Update dumpling-overview.md --- dumpling-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index 3e1484ab15da4..3f18712520f06 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -69,7 +69,7 @@ In the command above: + `-h`, `-p`, and `-u` respectively mean the address, the port, and the user. If a password is required for authentication, you can use `-p $YOUR_SECRET_PASSWORD` to pass the password to Dumpling. + `-o` specifies the export directory of the storage, which supports a local file path or a [URL of an external storage](/br/backup-and-restore-storages.md). + `-r` specifies the maximum number of rows in a single file. With this option specified, Dumpling enables the in-table concurrency to speed up the export and reduce the memory usage. -+ `-F` specifies the maximum size of a single file. ++ `-F` option is used to specify the maximum size of a single file (the unit here is `MiB`; inputs like `5GiB` or `8KB` are also acceptable). It is recommended to keep its value to 256 MiB or less if you plan to use TiDB Lightning to load this file into a TiDB instance. > **Note:** > From fac3f1766243c4c50039f4736608f0b5389d1063 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Tue, 27 Apr 2021 10:32:55 +0800 Subject: [PATCH 2/3] Update dumpling-overview.md --- dumpling-overview.md | 1 - 1 file changed, 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index 3f18712520f06..a848893f331e4 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -249,7 +249,6 @@ Examples: The exported file is stored in the `./export-` directory by default. Commonly used options are as follows: - The `t` option specifies the number of threads for the export. Increasing the number of threads will increase the concurrency of Dumpling but will also increase the database's memory consumption. Therefore, it is not recommended to set the number too large. -- The `-F` option is used to specify the maximum size of a single file (the unit here is `MiB`; inputs like `5GiB` or `8KB` are also acceptable). It is recommended to keep its value to 256 MiB or less if you plan to use TiDB Lightning to load this file into a TiDB instance. - The `-r` option specifies the maximum number of records (or the number of rows in the database) for a single file. When it is enabled, Dumpling enables concurrency in the table to improve the speed of exporting large tables. With the above options specified, Dumpling can have a quicker speed of data export. From 5fcab5ab207c21837db3d12dd19c1331626dbb2b Mon Sep 17 00:00:00 2001 From: JoyinQ <56883733+Joyinqin@users.noreply.github.com> Date: Wed, 28 Apr 2021 11:22:54 +0800 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- dumpling-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index a848893f331e4..57f270681cff1 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -69,7 +69,7 @@ In the command above: + `-h`, `-p`, and `-u` respectively mean the address, the port, and the user. If a password is required for authentication, you can use `-p $YOUR_SECRET_PASSWORD` to pass the password to Dumpling. + `-o` specifies the export directory of the storage, which supports a local file path or a [URL of an external storage](/br/backup-and-restore-storages.md). + `-r` specifies the maximum number of rows in a single file. With this option specified, Dumpling enables the in-table concurrency to speed up the export and reduce the memory usage. -+ `-F` option is used to specify the maximum size of a single file (the unit here is `MiB`; inputs like `5GiB` or `8KB` are also acceptable). It is recommended to keep its value to 256 MiB or less if you plan to use TiDB Lightning to load this file into a TiDB instance. ++ The `-F` option is used to specify the maximum size of a single file (the unit here is `MiB`; inputs like `5GiB` or `8KB` are also acceptable). It is recommended to keep its value to 256 MiB or less if you plan to use TiDB Lightning to load this file into a TiDB instance. > **Note:** >