摘要: 问题背景 线上监控发现mysql慢查询,mysql最大执行时间60s,接口p99耗时1.88s 优化记录 检查索引 show create table xxx 线上query条件比较复杂,有接近10个查询字段,主要字段都已经加索引 检查索引顺序 explain select x from x whe 阅读全文
posted @ 2021-08-06 11:34 致林 阅读(164) 评论(0) 推荐(0) 编辑