One command, which few people realize exists is SHOW OPEN TABLES – it allows you to examine what tables do you have open right now:
1 2 3 4 5 6 7 | mysql> show open tables from test; +----------+-------+--------+-------------+ | Database | Table | In_use | Name_locked | +----------+-------+--------+-------------+ | test | a | 3 | 0 | +----------+-------+--------+-------------+ 1 row in set (0.00 sec) |

