12 2019 档案

摘要:MySQL 监控 主要使用几个查询: Show global status; Show engine innodb status; 1、Show global status; Aborted_clients:由于客户端没有正确关闭连接导致客户端终止而中断的连接数。(休眠超时,退出未正确关闭,传数中断 阅读全文
posted @ 2019-12-30 11:48 heaventouch 阅读(185) 评论(0) 推荐(0) 编辑
摘要:优化思路 定位问题:硬件-》系统-》应用-》数据库-》架构(高可用,读写分离,分库分表) 绝大部分慢查询问题可通过索引优化; 其他优化方向: MySQL参数、系统参数、硬件、架构 1、工具 explain、show profiles、show index from table_name; Show 阅读全文
posted @ 2019-12-28 14:09 heaventouch 阅读(183) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示