MySQL 8.0.31
Source Code Documentation
log Directory Reference
Directory dependency graph for log:

Files

file  log0buf.cc
 Redo log buffer implementation, including functions to:
 
file  log0chkp.cc
 Redo log checkpointing.
 
file  log0consumer.cc
 
file  log0ddl.cc
 DDL log.
 
file  log0encryption.cc
 
file  log0files_capacity.cc
 physical_capacity (total size on disk except tmp files) | +- *2/LOG_N_FILES | ("snake's head&tail cages") | +- *FREE_RATIO ("the snake's body") | +- OVERHEAD | (space which shouldn't be used for deltas) | | | +- (LOG_N_FILES - 1) * LOG_FILE_HDR_SIZE | | (file headers in cages with snake's body) | | | +- LOG_EXTRA_SAFETY_MARGIN | (just in case) | +- lsn_capacity (space to use for deltas) | +- next_file_earlier_margin | ("snake's tongue" - we want to never need more than LOG_N_FILES-1) | +- hard_logical_capacity (this is how log writer sees the capacity) | +- *LOG_EXTRA_WRITER_MARGIN_PCT/100 | (log writer's private workspace to pull of "desperate rescue") | +- soft_logical_capacity (this is how threads other than log writer see the capacity) | +- free_check_margin | (it's "reserved" - you may write to it, if you did reservation) | | | +- concurrency_margin
 
file  log0files_dict.cc
 Redo log - in-memory dictionary of log files (their meta data).
 
file  log0files_finder.cc
 Redo log - finding log files and inspecting their meta data.
 
file  log0files_governor.cc
 Redo log files - governor.
 
file  log0files_io.cc
 
file  log0log.cc
 Redo log system - provides durability for unflushed modifications to contents of data pages.
 
file  log0meb.cc
 
file  log0pfs.cc
 
file  log0pre_8_0_30.cc
 Redo log - functions related to redo formats before 8.0.30.
 
file  log0recv.cc
 Recovery.
 
file  log0test.cc
 Tools used to test redo log in gtests (log0log-t.cc).
 
file  log0write.cc
 Redo log writing and flushing, including functions for: