tags:

views:

21

answers:

1

Hi,

How to determine what are the tables locked using mysql?

A: 

You can use SHOW OPEN TABLES to show each table's lock status. More details on the command's doc page are here:

http://dev.mysql.com/doc/refman/5.1/en/show-open-tables.html

Jamie