mysqldump 内存消耗
Posted rsapaper
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysqldump 内存消耗相关的知识,希望对你有一定的参考价值。
mysql :: MySQL 8.0 Reference Manual :: 4.5.4 mysqldump — A Database Backup Program https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html#mysqldump-performance
mysqldump can retrieve and dump table contents row by row, or it can retrieve the entire content from a table and buffer it in memory before dumping it. Buffering in memory can be a problem if you are dumping large tables. To dump tables row by row, use the --quick
option (or --opt
, which enables --quick
). The --opt
option (and hence --quick
) is enabled by default, so to enable memory buffering, use --skip-quick
.
以上是关于mysqldump 内存消耗的主要内容,如果未能解决你的问题,请参考以下文章