When performing physical backup on system that are heavily used, it can happen that the backup speed cannot keep up with the redo log generation. This can happen when the backup storage is slower than the redo log storage media and this can lead in inconsistency in the generated backup.
MySQL Enterprise Backup (aka MEB) and probably Percona Xtrabackup, benefit from the possibility to sequentially write redo log records to an archive file in addition to the redo log files.
This feature was introduced in MySQL 8.0.17.
How to enable it ?
To enable this feature, two settings are necessary:
- set globally a directory where those archiving logs can be stored
- start the archiving process in a session by calling a dedicated function
The global variable is …