- Check the tables are being locked Show the OPEN TABLES the WHERE IN_USE > 0 ; - view the process ID show processlist; - kill the process the kill 123456 ; - table level lock frequency Show Status like ' the Table% ' ; + - -------------------------- + ------ + --- | variable_name | Value | + - -------------------------- + --------- + | Table_locks_immediate | 7295843 | - refers to the number of immediate access to table-level locking | Table_locks_waited | 362 | - refers to the number of table-level lock can not be obtained immediately but to wait | Table_open_cache_hits | 0 | | Table_open_cache_misses | 0 | | Table_open_cache_overflows | 0 | +----------------------------+---------+