This table provides information about the transaction currently being applied by a given worker. If there is no such transaction, this table is empty.
This table requires installation of the
replication_applier_metrics component,
which is available with MySQL Enterprise Edition only. See
Section 7.5.6.1, βReplication Applier Metrics Componentβ, for
more information.
The
replication_applier_progress_by_worker
table has these columns:
CHANNEL_NAMEThe name of the replication channel.
WORKER_IDThe worker ID.
THREAD_IDThe worker thread ID of the applier thread; this is the same as the worker thread ID shown by the
THREAD_IDcolumn of thereplication_applier_status_by_workertableONGOING_TRANSACTION_TYPEThe type of transaction being executed; one of
UNASSIGNED,DML, orDDL. The type of a given transaction is known only after its associated GTID event has been processed. Until then, its type is shown asUNASSIGNED.This information is available only for workers executing transactions.
ONGOING_TRANSACTION_FULL_SIZE_BYTESThe total size (in bytes) of the transaction currently being executed by this worker. This is set when processing the transaction GTID or (for compressed transactions) the transaction payload event, and is reset to 0 when the transaction is committed.
This information is available only for workers executing transactions.
ONGOING_TRANSACTION_APPLIED_SIZE_BYTESThe size (in bytes) of those parts of the worker's ongoing transaction that have already been executed. This increases with each event executed (provided that the event provides a data size), and is reset when the transaction is committed.
This information is available only for workers executing transactions.