MySQL Forums
Forum List  »  Performance

Re: subselect in 'IN list', Win2000, mysql 4.1.7
Posted by: Oleksandr Byelkin
Date: December 06, 2004 04:21AM

Difference is in way how it is executed.
Subquery will be executed for every row of outer query (now). We have plans to change it (optimize IN subqueries for case like you have) but it is not done yet.

So now in this case you better use join if you can.

Mr. Oleksandr Byelkin
MySQL AB, Full-Time Developer
Lugansk, Ukraine

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: subselect in 'IN list', Win2000, mysql 4.1.7
1928
December 06, 2004 04:21AM


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.