Mysql索引、事务隔离级别和优化

1.mysql多索引最左前缀原则mysql 从前日后依次使用生效,若是中间某个索引没有使用,那么断点前面的索引部分起做用,断点后面的索引没有起做用 select * from table where index1=? and index2=? and index3=?.... 这种三个索引顺序使用中间没有断点,所有发挥做用; select * from table where index1=? a
相关文章
相关标签/搜索