首页 > 数据库 > MySQL > mysql DDL时锁表的排查
select id,USER,USER,time,left(info,10),state from information_schema.processlist where state like '%Waiting for %' order by time desc ;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28916011/viewspace-2776026/ ,如需转载,请注明出处,否则将追究法律责任。