mysql主從延遲監控

方式1、從庫參數查看 從庫執行show slave status \G; 查看字段 Seconds_Behind_Master。 說明: 1、主從無延遲的時候Seconds_Behind_Master值爲0。 2、當從庫IO線程或者SQL線程故障時,Seconds_Behind_Master值爲NULL。 存在的問題 A:備庫Seconds_behand_master值是通過將服務器當前的時間戳與
相關文章
相關標籤/搜索