2011-03-28 20:34:24 1 评论 MySQL Boy.Lee

MySQL 表级行级锁定状态查看

{Table Level}

show status like 'table%';

{Row Level}

show status like 'innodb_row_lock%';

{Innodb Monitor Open}

create table innodb_monitor(a int) engine=innodb;

 

CN : 简单的说上2个是查看,下面是一个是新建一张表,让数据库知道要开始monitor操作了,类似MySQL log.