| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: union all vs. left outer join
VC wrote:
> <henrik.sorensen_at_balcab.ch> wrote in message
>> The test case is reduced from a production system where each table have >> 200'000 records, and hence the materialization of the tables A-B-C is >> performing very very badly.
For the second query where the OR join is done with 'union all', none of the have a problem using the indexes to produce the resultsets.
Do you see it differently ?
Now my problem with the 'union all' vs the 'left outer join', is really first of all performance, and also the maintenance of the query. Obviously in my production system there are much more columns, and reference tables that are joined to the resultset. And further the query is wrapped inside a view.
Henrik Received on Tue Nov 08 2005 - 01:08:32 CST
![]() |
![]() |