| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: union all vs. left outer join
Stefan Rybacki wrote:
> henrik.sorensen_at_balcab.ch wrote:
>> ... >> >> Any ideas, or hints would be much appreciated. >> >> Henrik
thanks for testing it.
It seems postgreSQL does what I am looking for, but I am not familiar with
the output you have shown.
Maybe you can confirm this is happening:
The accesspath should ideally be: use index EM1 to find matching records,
join with table D using index XDE, use the found set of D.bids to join
using matching indexes on C and B respectively, and finally join to the
matching records in A, also using indexes.
It might be that the actual testcase have too few records to demonstrate this accesspath.
Looking at the explain from Mysql, it indeed seem that the two access paths A-B-D-E and A-C-D-E is recognized. Can you see if the matching indexes are used ?
Henrik Received on Mon Nov 07 2005 - 18:13:14 CST
![]() |
![]() |