Mysql- "FLUSH TABLES WITH READ LOCK" started automatically

Posted by ming yeow on Stack Overflow See other posts from Stack Overflow or by ming yeow
Published on 2010-05-13T03:45:15Z Indexed on 2010/05/13 3:54 UTC
Read the original article Hit count: 206

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?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about database-administration