MySQL Forums
Forum List  »  Newbie

Re: Issue using Like in select - causes Incorrect key file error
Posted by: Rick James
Date: May 25, 2011 07:47PM

Check & Repair.
CHECK TABLE ...
or use myisamchk

The performance of
AND (m.name like '%business%' or o.name like '%business%')
will be poor for two reasons --
* the leading wild card
* OR

Consider using FULLTEXT indexing.

Options: ReplyQuote


Subject
Written By
Posted
Re: Issue using Like in select - causes Incorrect key file error
May 25, 2011 07:47PM


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.