简体   繁体   中英

Is flush log happen when applying mysqldump

Question regarding MysqlDump process.

While taking mysqldump, is flush log happen? Lets say if mysqldump with single-transaction running so is new binary log file will create?

Not by default. There's a --flush-logs option for mysqldump that you can use to make this happen.

Read about it here:

https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html#option_mysqldump_flush-logs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM