Seconds_Behind_Master 能正确反映主从延时吗?

在mysql的备库的监控中有一项很重要的指标:Seconds_Behind_Master,这个值是怎么获得的呢?下面从5.1.58的代码中分析一下:mysql     mysql的replication中有2个比较重要的class:Master_info(rpl_mi.h), Relay_log_info(rpl_rli.h),他们分别对应于master,info文件和slave.info文件;很
相关文章
相关标签/搜索