Comunque considera che
http://dev.mysql.com/doc//refman/5.0...l-indexes.htmlSometimes MySQL does not use an index, even if one is available. One circumstance under which this occurs is when the optimizer estimates that using the index would require MySQL to access a very large percentage of the rows in the table. (In this case, a table scan is likely to be much faster because it requires fewer seeks.)

Rispondi quotando