Skip to content


Mysql中索引的限制

##摘自mysql的性能调优与架构设计##(备忘)
1.myIsam存储引擎索引键长度的总和不能超过1000字节
2.BLOB和TEXT列只能创建前缘索引
3.Mysql目前不支持函数索引
4.使用不等于(!=或者<>)的时候,Mysql无法使用 索引
5.过滤字段如果使用 函数运算(如abs(column))后,mysql无法使用索引
6.join语句中join条件字段类型不一致时,mysql无法使用索引
7.使用like操作的时候,如果条件以通配符开始(”%abc…”)时,mysql无法使用索引
8.使用非等值查询的时候,mysql无法使用hash索引

Posted in mysql.

Tagged with .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.