MySQL Forums
Forum List  »  Optimizer & Parser

Re: Optimize subquery, replace IN() with JOIN
Posted by: Øystein Grøvlen
Date: November 16, 2016 01:50AM

Hi Miron,

In theory, MySQL should be able to automatically convert this query into a join (so-called semi-join transformation). Please, show the output of EXPLAIN for this query. (SHOW CREATE TABLE for each table would also help.)

Thanks,

Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Optimize subquery, replace IN() with JOIN
741
November 16, 2016 01:50AM


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.