A
A
Andrey Rakovskiy2018-04-07 17:32:48
MySQL
Andrey Rakovskiy, 2018-04-07 17:32:48

Why is MySQL hanging?

Copied records from one table to another, totaling about 18 million records.
After about 8m stopped the process (ctrl + c in muscle terminal). The process was killed, but everything hung on query aborted. I pressed ctrl + c again and successfully terminated the request.
Then I performed service mysql restart and it hung back. Then by pressing ctrl + c I rebooted the server.
Now selects from the table to which the data was copied take several minutes, although indexes are used. The site slows down, in pma 504 it throws an error when opening a database (not a table), it connects to the normal database through the console.
Here is the error log
5ac8d68a80e69553129497.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question