MySQL Locking Up

Posted by Ian on Server Fault See other posts from Server Fault or by Ian
Published on 2010-05-30T06:15:38Z Indexed on 2010/05/30 9:34 UTC
Read the original article Hit count: 265

Filed under:
|
|

I've got a innodb table that gets a lot of reads and almost no writes (like, 1 write for every 400,000 reads approx).

I'm running into a pretty big problem though when I do INSERT into the table. MySQL completely locks up. It uses 100% cpu, and every single other table (in other databases even) have their statuses set to "Locked" until the INSERT is done. This is a big problem because MySQL stays locked up for up to 4 minutes.

I'm using version 5.1.47 (rpm from mysql.com).

Any ideas?

© Server Fault or respective owner

MySQL Locking Up

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2010-05-30T06:15:38Z Indexed on 2010/05/30 6:22 UTC
Read the original article Hit count: 265

Filed under:
|
|

I've got a innodb table that gets a lot of reads and almost no writes (like, 1 write for every 400,000 reads approx).

I'm running into a pretty big problem though when I do INSERT into the table. MySQL completely locks up. It uses 100% cpu, and every single other table (in other databases even) have their statuses set to "Locked" until the INSERT is done. This is a big problem because MySQL stays locked up for up to 4 minutes.

I'm using version 5.1.47 (rpm from mysql.com).

Any ideas?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about linux