MySQL Forums
Forum List  »  Newbie

Re: Using NOT IN
Posted by: Chris Styles
Date: January 02, 2011 09:11PM

I guess it was a timing issue where NOT IN would have finished if I waited long enough because using LEFT JOIN instead seems to work. However, it works in 89 seconds! I'm the only that will be using this procedure but I have to run it around 800 times a week.

I have 125,000 rows in Rankings (This will grow)
I have 120 rows in Rankings when the conditional statements are accounted for
I have 245 rows in Teams

Is there anything I can do to make this run faster?

Options: ReplyQuote


Subject
Written By
Posted
January 01, 2011 06:38PM
January 02, 2011 01:17AM
January 02, 2011 10:57AM
Re: Using NOT IN
January 02, 2011 09:11PM
January 02, 2011 10:56PM
January 03, 2011 11:10AM


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.