Information Schema INNODB_UNDO_LOGS Table

MariaDB 5.5.27 - 10.0

The INNODB_UNDO_LOGS are a Percona enhancement, introduced in version MariaDB 5.5.27 and removed in 10.0.

The Information Schema INNODB_UNDO_LOGS table is a Percona enchancement, and is only available for XtraDB, not InnoDB (see XtraDB and InnoDB). It contains information about the the InnoDB undo log, with each record being an undo log segment. It was removed in MariaDB 10.0.

It has the following columns:

TRX_IDUnique transaction ID number, matching the value from the information_schema.INNODB_TRX table.
RSEG_IDRollback segment ID, matching the value from the information_schema.INNODB_RSEG table.
USEG_IDUndo segment ID.
SEGMENT_TYPEIndicates the operation type, for example INSERT or UPDATE.
STATESegment state; one of ACTIVE (contains active transaction undo log), CACHED, TO_FREE (insert undo segment can be freed), TO_PURGE (update undo segment won't be re-used and can be purged when all undo data is removed) or PREPARED (segment of a prepared transaction).
SIZESize in pages of the segment.


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.