Mysql- “FLUSH TABLES WITH READ LOCK” started automatically

Posted by mingyeow on Server Fault See other posts from Server Fault or by mingyeow
Published on 2010-05-13T16:11:31Z Indexed on 2010/05/13 16:14 UTC
Read the original article Hit count: 852

Filed under:
|
|

I would like to understand how this happened. I was running a query that would take a long time, but should not lock up any table. However, my dbs were practically down - it seems like it was being locked up by "FLUSH TABLES WITH READ LOCK"

03:21:31 select type_id, count(*) from guid_target_infos group by type_id 02:38:11 select type_id, count(*) from guid_infos group by type_id 02:24:29 FLUSH TABLES WITH READ LOCK

But i did not start this command. can someone tell me why it was started automatically?

© Server Fault or respective owner

Related posts about mysql

Related posts about innodb