随笔分类 -  工作

摘要:mysql 索引下推 个人认为 主要场景是组合索引上 idx_age_reward select * from t_user where age > 20 and reward = 100000; 联合索引当遇到范围查询 (>、<) 就会停止匹配,也就是 age 字段能用到联合索引,但是 rewar 阅读全文
posted @ 2023-10-27 17:53 zhonghuahero 阅读(10) 评论(0) 推荐(0) 编辑

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