Mysql中复合索引使用规则有哪些( 四 )


explain select * from t where c1= a%
+ -+ -+ -+ + + -+ + -+ + +
| id | select_type | table | type | possible_keys | key| key_len | ref| rows | Extra|
+ -+ -+ -+ + + -+ + -+ + +
|1 | SIMPLE| t| ref| idx_t_c1234| idx_t_c1234 | 11| const |1 | Using index condition |
+ -+ -+ -+ + + -+ + -+ + +
用到了复合索引idx_t_c1234
【Mysql中复合索引使用规则有哪些】感谢你能够认真阅读完这篇文章 , 希望小编分享的“Mysql中复合索引使用规则有哪些”这篇文章对大家有帮助 , 同时也希望大家多多支持 , 关注行业资讯频道 , 更多相关知识等着你来学习!

推荐阅读