![]() |
MySQL 8.0.43
Source Code Documentation
|
Runtime statistics related to redo log files management. More...
#include <log0types.h>
Public Member Functions | |
Log - files management. | |
| void | update (const log_t &log) |
| Tries to update stats. More... | |
Public Attributes | |
| Log_clock_point | m_last_update_time {} |
| Last time stats were updated (last successful call to. More... | |
| lsn_t | m_lsn_consumption_per_1s {0} |
| LSN difference by which result of log_files_oldest_needed_lsn() advanced during last second. More... | |
| lsn_t | m_lsn_production_per_1s {0} |
| LSN difference by which result of log_files_newest_needed_lsn() advanced during last second. More... | |
| lsn_t | m_oldest_lsn_on_update {0} |
| Oldest LSN returned by log_files_oldest_needed_lsn() during last successful call to. More... | |
| lsn_t | m_newest_lsn_on_update {0} |
| Newest LSN returned by log_files_newest_needed_lsn() during last successful call to. More... | |
Runtime statistics related to redo log files management.
These stats are not persisted to disk.
| void Log_files_stats::update | ( | const log_t & | log | ) |
Tries to update stats.
Fails and skips updating if less than 1s elapsed since last successful update, else: updates the stats and succeeds.
| [in] | log | redo log |
| Log_clock_point Log_files_stats::m_last_update_time {} |
Last time stats were updated (last successful call to.
| lsn_t Log_files_stats::m_lsn_consumption_per_1s {0} |
LSN difference by which result of log_files_oldest_needed_lsn() advanced during last second.
This is basically average consumption speed. Updated by successful calls to
| lsn_t Log_files_stats::m_lsn_production_per_1s {0} |
LSN difference by which result of log_files_newest_needed_lsn() advanced during last second.
This is basically average production speed. Updated by successful calls to
| lsn_t Log_files_stats::m_newest_lsn_on_update {0} |
Newest LSN returned by log_files_newest_needed_lsn() during last successful call to.
| lsn_t Log_files_stats::m_oldest_lsn_on_update {0} |
Oldest LSN returned by log_files_oldest_needed_lsn() during last successful call to.