MySQL 主从复制架构中,DBA 检查发下从库状态出现错误:<p>mysql> show slave status\G;</p><p>*************************** 1. row ***************************</p><p> Slave_IO_State: Waiting for master to send event</p><p> Master_Host: 172.16.20.187</p><p> Master_User: replnew</p><p> Master_Port: 3306</p><p> Connect_Retry: 60</p><p> Master_Log_File: binlog.000001</p><p> Read_Master_Log_Pos: 6104</p><p> Relay_Log_File: relay.000004</p><p> Relay_Log_Pos: 391</p><p> Relay_Master_Log_File: binlog.000001</p><p> Slave_IO_Running: Yes</p><p> Slave_SQL_Running: No</p><p> Replicate_Do_DB: </p><p> Replicate_Ignore_DB: </p><p> Replicate_Do_Table: </p><p> Replicate_Ignore_Table: </p><p> Replicate_Wild_Do_Table: </p><p> Replicate_Wild_Ignore_Table: </p><p> Last_Errno: 1049</p><p> Last_Error: Coordinator stopped because there were error(s) in the worker(s). The most recent failure being: Worker 1 failed executing transaction 'ef3b121f-0234-11eb-a6fb-000c29865847:6' at master log binlog.000001, end_log_pos 1468. See error log and/or performance_schema.replication_applier_status_by_worker table for more details about this failure or others, if any.</p><p> Skip_Counter: 0</p><p> Exec_Master_Log_Pos: 1213</p><p> Relay_Log_Space: 5942</p><p> </p><p> 关于错误信息下列说法错误的是()【多选】?</p>
A、
I/O thread 线程处于异常状态。
B、
SQL Thread 线程处于异常状态。
C、
可以通过解析对应主库上binlog.000001 起始偏移量为1213位置查看对应的异常SQL 语句。
D、
可以查看performance_schema.replication_applier_status_by_worker表格获取更多有关错误信息。
E、
该错误将造成主库上的binlog事件无法写入到从库的relay log。
发布时间:2025-05-26 18:54:24