MySQL Forums
Forum List  »  Performance

Re: String match is too slow in huge table
Posted by: Peter Zaitsev
Date: January 04, 2005 11:05AM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: String match is too slow in huge table
2413
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.