1. show processlist; 执行了时间,和观察因为某个进程导致之后的sql卡死的原因 2. SELECT trx_rows_locked,trx_mysql_thread_id FROM information_schema.innodb_trx;查看线程锁定的行数,和线程id