redo log
A set of files, typically named ib-logfile0
and ib-logfile1
, that record statements that attempt to change data in InnoDB tables. These statements are replayed automatically to correct data written by incomplete transactions, on startup following a crash. The passage of data through the redo logs is represented by the ever-increasing LSN value. The 4GB limit on maximum size for the redo log is raised in MariaDB 5.6.
The disk layout of the redo log is influenced by the configuration options innodb-log_file_size
, innodb_log_group_home_dir
, and (rarely) innodb_log_files_in_group
. The performance of redo log operations is also affected by the log buffer, which is controlled by the innodb_log_buffer_size
configuration option.
See also crash recovery.
See also ib-logfile.
See also log buffer.
See also LSN.
See also transaction.