MySQL DBA Daily fault handling----Master-slave delay failure (171020)

Source: Internet
Author: User
Tags dba

Today after work received a database monitoring sent by the alarm message, the contents are as follows:

Server monitoring System DBA monitor V1.0

-------------------------------------------------------

Alarm server: **************

Alarm Host Name: **************:3306

-------------------------------------------------------

Alarm time: 2017-10-20-11:10:03

-------------------------------------------------------

Alarm content:

materid-185:mysql-bin.002114|391767716

slaveid-189:mysql-bin.002114|391767716|mysql-bin.002114|384247058|125

Analysis:

Through the alarm content we can find that this group of servers has a delay between the master and slave servers. From the alarm content can know the main binlog log and has synchronized to the Relay_log log point from the same, the log file is all but mysql-bin.002114 The log point is 391767716, but the slave does not have all the Rely-log logs restored, so it is likely that the Lord is performing a major transaction caused by the master-slave delay, through the analysis of the Lord's Binlog log can be found. In the Lord since 384247058 The log point does perform a large volume transaction operation.

Treatment scenario: Wait for natural recovery.

MySQL Course recommendations

MySQL performance management and architecture design

high-performance extensible MySQL Database design and Architecture Optimization e-commerce project  


MySQL Performance management and rack

This article is from the "DBA Log" blog, reproduced please contact the author!

MySQL DBA Daily fault handling----Master-slave delay failure (171020)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.