Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
In InnoDB, redo log file operations unnecessarily go through the fil_io() API. It would be cleaner to just have the log file descriptors straight inside log_sys.log.
Most redo log writes are synchronous. The only exception is writing the checkpoint header block, which uses asynchronous I/O. It might be better to dedicate the io_handler_thread() for data file operations only, and not let them deal with the redo log checkpoint write completion.
Attachments
Issue Links
- blocks
-
MDEV-14425 Change the InnoDB redo log format to reduce write amplification
- Closed
-
MDEV-16526 Overhaul the InnoDB page flushing
- Closed
-
MDEV-21382 use fdatasync() for redo log where appropriate
- Closed
- relates to
-
MDEV-13542 Crashing on a corrupted page is unhelpful
- Closed
-
MDEV-31170 Document MDEV-18115, Remove dummy tablespace for the redo log
- Closed
-
MDEV-26603 asynchronous redo log write
- Closed
-
MDEV-31124 Innodb_data_written miscounts doublewrites
- Closed