Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: UNION: SQL-tuning

Re: UNION: SQL-tuning

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Thu, 12 Sep 2002 18:43:04 +0100
Message-ID: <3D80D228.7425@yahoo.com>

Andrei Romazanov wrote:
>
> Hello all,
>
> I have performance-problem in a UNION.
> Normally I can separated optimize the parts from UNION,
> in this case however show both part-SELECTS good performance,
> but in UNION suddenly appears FULL TABLE SCAN. Could someone explain to me
> this
> behavior of the Optimizer?
>
> Thank you in advance
>
> Andrei

Can you use UNION ALL - its far more efficient (if applicable)

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Thu Sep 12 2002 - 12:43:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US