MySQL 主从同步延迟排查Slave_SQL_Running_State: Waiting for dependent transaction to commit
1.Waitingfordependenttransactiontocommit1.1.排查步骤:1.查看错误日志:○从节点上执行:SHOWVARIABLESLIKE'log_error';2.查看复制状态:○从节点上执行:SHOWSLAVESTATUS;3.确认并行复制设置:○从节点上执行:SHOWVARIABLESLIKE'slave_parallel_workers';4.检查长事务:○从节