MySQL優化之BTree索引使用規則

MySQL優化之BTree索引使用規則 從一道題開始分析: 假設某個表有一個聯合索引(c1,c2,c3,c4)一下——只能使用該聯合索引的c1,c2,c3部分 A where c1=x and c2=x and c4>x and c3=x B where c1=x and c2=x and c4=x order by c3 C where c1=x and c4= x group by c3,c2
相關文章
相關標籤/搜索