会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
stackOverFlow
博客园
首页
博问
闪存
新随笔
订阅
管理
2020年5月28日
MySQL学习之SQL优化(索引优化)
摘要: 一、如何选择合适的列建立索引 在where从句,group by从句,order by从句,on从句中出现的列 索引字段越小越好 离散度大的列放到联合索引的前面 explain select * from payment where staff_id=2 and customer_id=584; -
阅读全文
posted @ 2020-05-28 16:18 kosamino
阅读(807)
评论(0)
推荐(0)
编辑