会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
致林
github.com/haibincoder
博客园
首页
联系
订阅
管理
2021年8月6日
记一次mysql慢查询优化
摘要: 问题背景 线上监控发现mysql慢查询,mysql最大执行时间60s,接口p99耗时1.88s 优化记录 检查索引 show create table xxx 线上query条件比较复杂,有接近10个查询字段,主要字段都已经加索引 检查索引顺序 explain select x from x whe
阅读全文
posted @ 2021-08-06 11:34 致林
阅读(172)
评论(0)
推荐(0)
编辑
公告