Re: String match is too slow in huge table
Juan,
As I mentioned before index on (name,surname) is different. MySQL will only be able to use first keypart as you do prefix name matches. Surname should be more sellective, and if this is the only queries you use this index for you will only need (surname) as index.
There is command LOAD INDEX INTO CACHE command, it however does not work with FullText search index. You can however preload it in OS cache by simple cat "file.MYI" > /dev/null
Subject
Views
Written By
Posted
9260
December 23, 2004 11:37PM
3764
December 27, 2004 11:54PM
3414
December 28, 2004 12:38PM
3190
December 31, 2004 07:38PM
3385
January 03, 2005 02:54PM
2900
January 03, 2005 05:08PM
3141
January 04, 2005 06:57AM
Re: String match is too slow in huge table
2609
January 04, 2005 11:05AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.