What is the best method for monitoring Group Replication conflict resolution?
监视组复制冲突解决的最佳方法是什么?
A. the PERFORMANCE_SCHEMA tables
B. the SHOW PROCESSLIST command
C. the INNODB Lock Monitor details
D. the SHOW STATUS command
E. the INFORMATION_SCHEMA tables
Answer: A
https://dev.mysql.com/doc/refman/5.7/en/group-replication-monitoring.htmlhttps://www.cndba.cn/hbhe0316/article/22757https://www.cndba.cn/hbhe0316/article/22757
Use the Perfomance Schema tables to monitor Group Replication, assuming that the Performance Schema is enabled. Group Replication adds the following tables:
performance_schema.replication_group_member_stats
performance_schema.replication_group_members
These Perfomance Schema replication tables also show information about Group Replication:https://www.cndba.cn/hbhe0316/article/22757
performance_schema.replication_connection_status shows information regarding Group Replication, for example the transactions that have been received from the group and queued in the applier queue (the relay log).
performance_schema.replication_applier_status shows the state of the Group Replication related channels and threads If there are many different worker threads applying transactions, then the worker tables can also be used to monitor what each worker thread is doing.
The replication channels created by the Group Replication plugin are named:
group_replication_recovery - This channel is used for the replication changes that are related to the distributed recovery phase.https://www.cndba.cn/hbhe0316/article/22757https://www.cndba.cn/hbhe0316/article/22757
group_replication_applier - This channel is used for the incoming changes from the group. This is the channel used to apply transactions coming directly from the group.
版权声明:本文为博主原创文章,未经博主允许不得转载。
MYSQL