Home > Backend Development > PHP Tutorial > Mysql blocking problem causes

Mysql blocking problem causes

WBOY
Release: 2016-10-12 10:04:06
Original
1707 people have browsed it

1. Deadlock situation has been ruled out.
2.show processlist; nearly a thousand query processes are blocked.
3. Extract the two most awaited SQL statements, which take nearly 1 second to execute individually.
Please help me analyze what else needs to be analyzed. It is blocked three or four times a month.

Reply content:

1. Deadlock situation has been ruled out.
2.show processlist; nearly a thousand query processes are blocked.
3. Extract the two most awaited SQL statements, which take nearly 1 second to execute individually.
Please help me analyze what else needs to be analyzed. It is blocked three or four times a month.

Consider slow query, enable slow query log analysis and SQL to find the reason

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template