1. 查看数据表被锁状态

show open tables showse>0;
show engine innodb status;
show processlist;