Skip to content

Commit

Permalink
dumpling: add a note about compression (#6619) (#7925)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Mar 24, 2022
1 parent eb5c3b6 commit beae05d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dumpling-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ The exported file is stored in the `./export-<current local time>` directory by
- The `t` option specifies the number of threads for the export. Increasing the number of threads improves the concurrency of Dumpling and the export speed, and also increases the database's memory consumption. Therefore, it is not recommended to set the number too large.
- 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.
- The `--compress gzip` option can be used to compress the dump. This can help to speed up dumping of data if storage is the bottleneck or if storage capacity is a concern. The drawback of this is an increase in CPU usage. Each file is compressed individually.

With the above options specified, Dumpling can have a quicker speed of data export.

Expand Down

0 comments on commit beae05d

Please sign in to comment.