MySQL Forums
Forum List  »  Optimizer & Parser

Re: Parallel scans
Posted by: Rick James
Date: May 20, 2009 10:39PM

You have pretty much described the "index merge", new with 5.0:
http://dev.mysql.com/doc/refman/5.0/en/index-merge-optimization.html

Your particular example had two things conspiring from picking t2 first (which would have been much more efficient): LEFT JOIN and 'f' being NULLable.

Options: ReplyQuote


Subject
Views
Written By
Posted
4062
May 19, 2009 04:15PM
Re: Parallel scans
2242
May 20, 2009 10:39PM


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.