1. 程式人生 > >mysql 常用性能查詢方法

mysql 常用性能查詢方法

where mat 查詢 mysq nod nbsp OS SQ status

1、 show processlist; 2、select * from information_schema.innodb_trx\G 3、SELECT user, host, time, command, state,left(info,4000) FROM information_schema.processlist WHERE command<>‘Sleep‘ and command<>‘Daemon‘ and time>0; 4、 show engine innodb status\G 5、explain

mysql 常用性能查詢方法