Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
None
Description
Description:
|
------------
|
It included two kinds of optimization for log write:
|
|
1. Split the log buffer into the two buffer that has the same size with innodb_log_buffer_size.
|
So that when log_write_up_to_lsn occured, the mtr commit can write private log into
|
another global log buffer.
|
2. Split log_sys->mutex into two mutex.
|
log_sys->mutex protect the log buffer.
|
log_sys->w_mutex protect log file.
|
|
Those optimization can reduce the log write conflict and improve throughout.
|
https://github.com/alibaba/AliSQL/commit/959e2d3ebe43012c3c05374aa5cd79b7f9cac2ef
Attachments
Issue Links
- relates to
-
MDEV-14425 Change the InnoDB redo log format to reduce write amplification
- Closed