[Mydumper] Lost connection to MySQL server during query

TiDB 改版的 mydumper 具备单表多并发备份功能,适用于某张表特别大,占用很多内存的场景:

  1. 下载 tidb 社区最新版本的 mydumper https://www.pingcap.com/docs-cn/v3.0/reference/tools/download/
  2. 添加 -r 参数,规定每个并发处理的数据量-r, --rows Try to split tables into chunks of this many rows. This option turns off --chunk-filesize