开发者

mysql deadlock solution~

开发者 https://www.devze.com 2023-01-29 00:26 出处:网络
Mysql server seem to be in deadlock state because of transaction(race condition). But, restarting Mysql server doesn\'t make faster开发者_高级运维 or recover from locking state.

Mysql server seem to be in deadlock state because of transaction(race condition).

But, restarting Mysql server doesn't make faster开发者_高级运维 or recover from locking state. Web site is very very slow yet.

Basically yes, i have to change my web application queries first. But, is there any way to recover mysql server from locking state.

Deleting some table? or processing? or rollback?


Maybe killing the processes in mysql. You can go first

mysql> SHOW PROCESSLIST;

then mysql> kill 27; (the corresponding processes)

0

精彩评论

暂无评论...
验证码 换一张
取 消