MySQL 8.0.40
Source Code Documentation
|
Redo log management of capacity. More...
Go to the source code of this file.
Classes | |
class | Log_files_capacity |
Responsible for the redo log capacity computations. More... | |
struct | Log_files_capacity::Exposed |
Functions | |
void | log_files_capacity_get_limits (const log_t &log, lsn_t &limit_for_free_check, lsn_t &limit_for_dirty_page_age) |
Retrieves limitations determined by the current state of log.m_capacity. More... | |
Redo log management of capacity.
void log_files_capacity_get_limits | ( | const log_t & | log, |
lsn_t & | limit_for_free_check, | ||
lsn_t & | limit_for_dirty_page_age | ||
) |
Retrieves limitations determined by the current state of log.m_capacity.
These values are retrieved atomically (are consistent with each other).
[in] | log | redo log |
[out] | limit_for_free_check | soft capacity of the redo decreased by the current free check margin; this is limit for size of redo until which the log_free_check calls do not force waits |
[out] | limit_for_dirty_page_age | limit for the oldest dirty page until which the async (adaptive) flushing is not forced to be started (it might be started if turned on explicitly by the innodb_adaptive_flushing); note that computation of this value include doing the subtraction of the current log free check margin |