美文网首页
MySQL慢查询优化

MySQL慢查询优化

作者: q若水 | 来源:发表于2019-08-20 11:04 被阅读0次

-- 列出MySQL服务器运行各种状态值:

show global status;

-- 查询MySQL服务器配置信息:

show variables;
-- 慢查询
show variables like '%slow%';

show global status like '%slow%';
-- 慢查询总数量
show global status like '%Slow_queries%';

相关文章

网友评论

      本文标题:MySQL慢查询优化

      本文链接:https://www.haomeiwen.com/subject/fckpiftx.html