首页 > 数据库技术 > 详细

mysql 常用性能查询方法

时间:2018-05-30 15:58:57      阅读:190      评论:0      收藏:0      [点我收藏+]
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 常用性能查询方法

原文:https://www.cnblogs.com/zhanzhijie/p/9111346.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!