mySQL调优(定位慢查询并优化)

慢查询 什么是慢查询? MySQL默认的慢查询时间是10秒 慢查询都会有日志存放 —————— 使用show status使用show status查看MySQL服务器状态信息 —————— –mysql数据库启动了多少时间 show status like ‘uptime’; show stauts like ‘com_select’ show stauts like ‘com_insert’
相关文章
相关标签/搜索