MySQL Forums
Forum List  »  Performance

Re: Puzzled: why does join run 27,252 x faster than left outer join?
Posted by: Peter Zaitsev
Date: July 21, 2005 01:00PM

Deniel,

KimSeong's diagnostics is correct. Something is broken in left join optimization which does not allow it to use "range checked" optimization. I would suggest you to test it out with latest MySQL 4.1 and if it does not work still file a bug reports.

I should also mention joins with OR as yours are inefficient in MySQL 4.1 it would be better to rewrite it to UNION or UNION ALL.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Puzzled: why does join run 27,252 x faster than left outer join?
1669
July 21, 2005 01:00PM


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.