MySQL Forums
Forum List  »  InnoDB

Re: Select with IN clause hangs, but not with JOIN
Posted by: Peter Brawley
Date: May 01, 2014 12:07PM

Yes, semijoins are best avoided, in general subqueries run better in the FROM clause than elsewhere, see ...

"The unbearable slowness of IN()" at http://www.artfulsoftware.com/queries.php

http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Select with IN clause hangs, but not with JOIN
740
May 01, 2014 12:07PM


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.