MySQL 8.4 Reference Manual Including MySQL NDB Cluster 8.4

29.12.22.5 The log_status Table

The log_status table provides information that enables an online backup tool to copy the required log files without locking those resources for the duration of the copy process.

When the log_status table is queried, the server blocks logging and related administrative changes for just long enough to populate the table, then releases the resources. The log_status table informs the online backup which point it should copy up to in the source's binary log and gtid_executed record, and the relay log for each replication channel. It also provides relevant information for individual storage engines, such as the last log sequence number (LSN) and the LSN of the last checkpoint taken for the InnoDB storage engine.

The log_status table has these columns:

The log_status table has no indexes.

The BACKUP_ADMIN privilege, as well as the SELECT privilege, is required for access to the log_status table.

TRUNCATE TABLE is not permitted for the log_status table.