Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

An Analysis of seconds_behind_master problem

2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1. Alarm content: [seconds_behind_master] [INSERT LOW_PRIORITY IGNORE INT]

2. Log in to the database show slave status\ G; it is found that the slave delay is already 0!

3. Problem analysis:

1) the main direct cause of the delay caused by the visible title is INSERT. Checking whether there is / * pt-online-schema-change 102937 copy nibble*/ in the email SQL can directly determine whether it is caused by adding an index.

2) if you need to check ganglia (YZ) or grafana (KDDI) according to the general idea, to see if there is a system bottleneck or high concurrency.

3) analyze whether there are too many inserts in the alarm phase of binglog query!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report