MySQL Forums
Forum List  »  Newbie

Re: MySQL Performance Issue: String search in multiple columns/tables
Posted by: Rick James
Date: March 20, 2015 11:27PM

For starters, turn the ORs into UNIONs.

Get rid of LEFT unless you know you need it.

Once you have the UNIONs, you can get rid of some of the tables in some of the cases.

Also consider using FULLTEXT.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL Performance Issue: String search in multiple columns/tables
March 20, 2015 11:27PM


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.