MySQL Forums
Forum List  »  Performance

Re: String match is too slow in huge table
Posted by: Peter Zaitsev
Date: January 03, 2005 05:08PM

You can use full text index in addition to = matches so you will only get order you need.

Speaking about perfomance - did you use MATCH IN BOOLEAN MODE - it is much faster.

Also you need to make sure FT index fits in key_buffer and probably preload it.


Did you try having index on surname first ?

Also do you know how foxpro executes such query ? Might be in your case full table scan is best solution ?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: String match is too slow in huge table
2835
January 03, 2005 05:08PM


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.