MySQL Forums
Forum List  »  Full-Text Search

Re: Full-text search slower than like
Posted by: Rick James
Date: February 10, 2010 08:26PM

What values do you get for these:
SELECT COUNT(*)
   FROM pilz_pilz
   WHERE MATCH pilz AGAINST ('bole*' IN boolean MODE);
SELECT COUNT(*)
   FROM pilz_pilz
   WHERE MATCH pilz AGAINST ('+bole*' IN boolean MODE);
SELECT COUNT(*)
   FROM pilz_pilz
   WHERE            pilz LIKE '%bole%';

And see if things get faster after this:
OPTIMIZE TABLE pilz_pilz;



Edited 1 time(s). Last edit at 02/10/2010 08:35PM by Rick James.

Options: ReplyQuote


Subject
Views
Written By
Posted
7222
December 11, 2009 12:42PM
2916
February 07, 2010 02:04PM
2733
February 07, 2010 06:14PM
Re: Full-text search slower than like
2879
February 10, 2010 08:26PM


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.