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