This table shows the configuration parameters that affect transactions applied by the replica. Parameters stored in the table can be changed at runtime with theCHANGE REPLICATION SOURCE TO
statement (from MySQL 8.0.23) orCHANGE MASTER TO
statement (before MySQL 8.0.23).
Thereplication_applier_configuration
table has these columns:
CHANNEL_NAME
The replication channel which this row is displaying. There is always a default replication channel, and more replication channels can be added. SeeReplication Channelsfor more information.
DESIRED_DELAY
The number of seconds that the replica must lag the source. (
CHANGE REPLICATION SOURCE TO
option:所以URCE_DELAY
,CHANGE MASTER TO
option:MASTER_DELAY
) SeeDelayed Replicationfor more information.PRIVILEGE_CHECKS_USER
The user account that provides the security context for the channel (
CHANGE REPLICATION SOURCE TO
option:PRIVILEGE_CHECKS_USER
,CHANGE MASTER TO
option:PRIVILEGE_CHECKS_USER
). This is escaped so that it can be copied into an SQL statement to execute individual transactions. SeeReplication Privilege Checksfor more information.REQUIRE_ROW_FORMAT
Whether the channel accepts only row-based events (
CHANGE REPLICATION SOURCE TO
option:REQUIRE_ROW_FORMAT
,CHANGE MASTER TO
option:REQUIRE_ROW_FORMAT
). SeeReplication Privilege Checksfor more information.REQUIRE_TABLE_PRIMARY_KEY_CHECK
Whether the channel requires primary keys always, never, or according to the source's setting (
CHANGE REPLICATION SOURCE TO
option:REQUIRE_TABLE_PRIMARY_KEY_CHECK
,CHANGE MASTER TO
option:REQUIRE_TABLE_PRIMARY_KEY_CHECK
). SeeReplication Privilege Checksfor more information.ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_TYPE
Whether the channel assigns a GTID to replicated transactions that do not already have one (
CHANGE REPLICATION SOURCE TO
option:ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS
,CHANGE MASTER TO
option:ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS
).OFF
means no GTIDs are assigned.LOCAL
means a GTID is assigned that includes the replica's own UUID (theserver_uuid
setting).MANUAL
means a GTID is assigned that includes a manually set UUID. SeeReplication From a Source Without GTIDs to a Replica With GTIDsfor more information.ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_VALUE
The UUID that is used as part of the GTIDs assigned to anonymous transactions (
CHANGE REPLICATION SOURCE TO
option:ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS
,CHANGE MASTER TO
option:ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS
). SeeReplication From a Source Without GTIDs to a Replica With GTIDsfor more information.
Thereplication_applier_configuration
table has these indexes:
Primary key on (
CHANNEL_NAME
)
TRUNCATE TABLE
is not permitted for thereplication_applier_configuration
table.
The following table shows the correspondence betweenreplication_applier_configuration
columns andSHOW REPLICA STATUS
columns.
replication_applier_configuration Column |
SHOW REPLICA STATUS Column |
---|---|
DESIRED_DELAY |
SQL_Delay |