MySQL Forums
Forum List  »  Performance

Re: Is there a way to optimize this query?
Posted by: Noel Whelan
Date: February 05, 2005 09:38AM

Okay, if I write it that way instead it's way faster, thanks!

I'd be interested - why is this the case? I was just grouping inside the where clause based on what I thought was logical: i.e., $input is either in the item_title or (in one of its creators' names and (in this case, the creator is identified back with the item via the ic table)). Is it the extra parentheses, because I'd gotten the impression mysql would optimize this by itself..

Options: ReplyQuote

Written By
January 29, 2005 12:02PM
Re: Is there a way to optimize this query?
February 05, 2005 09:38AM

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.