MySQL性能优化[实践篇]-复合索引实例

上篇文章最后提了个问题html 假设某个表有一个复合索引(c1,c2,c3,c4),问如下查询中只能使用该复合索引的c1,c2,c3部分的有那些mysql 1. where c1=x and c2=x and c4>x and c3=xweb 2. where c1=x and c2=x and c4=x order by c3sql 3. where c1=x and c4=x group by
相关文章
相关标签/搜索