摘要: 参考文档:https://tech.meituan.com/2014/06/30/mysql-index.html 建索引的几大原则 1.最左前缀匹配原则,非常重要的原则,mysql会一直向右匹配直到遇到范围查询(>、<、between、like)就停止匹配,比如a = 1 and b = 2 an 阅读全文
posted @ 2019-10-17 10:25 KoMiles 阅读(192) 评论(0) 推荐(0) 编辑