MySQL Forums
Forum List  »  Performance

Re: Wildcard searches on big table
Posted by: Peter Zaitsev
Date: January 30, 2005 12:05AM

The answer is simple - do not search on "%key%" wildcard as this will require full scan which is slow for large table. There are various possibilities depending on application which allow you to avoid it.

For example your competor could have build index on 2-3 byte substings which allows to get such rows pretty fast

Options: ReplyQuote

Written By
January 29, 2005 06:05PM
Re: Wildcard searches on big table
January 30, 2005 12: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.