mysql 案例 ~ mysql常見日誌錯誤

一 簡介: mysql note級別日誌彙總
二錯誤系列
  1 Aborted connection
    1 [Note] Aborted connection 61 to db: 'unconnected' user: ‘mha’ host: ‘197.xx.xx.xx(Got an error reading communication packets)
    2 [Note] Aborted connection 61 to db: 'unconnected’' user: ‘mha’ host: ‘197.xx.xx.xx(Got timeout reading communication packets)
    分析
    1 表明因爲網絡中斷致使的鏈接斷開
     2 表明因爲超過timeout時間致使的鏈接斷開
  2 SLAVE多線程同步的信息
    [Note]Multi-threaded slave statistics for channel 」: seconds elapsed = 121; eventsassigned = 100374529; worker queues filled over overrun level = 0; waited due aWorker queue full = 0; waited due the total size = 0; waited at clock conflicts= 1451875661700 waited (count) when Workers occupied =     3211993 waited whenWorkers occupied = 445032386000
    分析 此信息常見於並行複製的循環打印,幾乎每隔120秒,就有上述日誌的輸出 一般出如今slave並行複製有延遲的狀況下
  3 page_cleaner線程的輸出日誌
   [Note] InnoDB:page_cleaner: 1000ms intended loop took 4750ms.The settings might not beoptimal. (flushed=1519 and evicted=0, during the time.)
   分析 此信息表明page_cleaner刷新比原定的循環時間next_loop_time多3000毫秒mysql

相關文章
相關標籤/搜索