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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Union all very slow.

RE: Union all very slow.

From: Polarski, Bernard <Bernard.Polarski_at_atosorigin.com>
Date: Thu, 26 Oct 2006 08:33:43 +0200
Message-ID: <25D4919915CCF742A88EE3366D6D913D0FB9F9DB@mailserver1>


The explain plan will only reflect what is already known : that there is a full table scan in the access path.
to understand the 'WHY this change' you need to take the 10053.  

bp


From: Dennis Williams [mailto:oracledba.williams_at_gmail.com] Sent: Wednesday, 25 October, 2006 8:40 PM To: Randy.Steiner_at_nyct.com
Cc: oracle-l_at_freelists.org
Subject: Re: Union all very slow.

Randy,  

I'd start by doing an EXPLAIN PLAN on each part and the whole thing. You didn't mention your Oracle version, but maybe the CBO is getting smart enough to optimize the entire query, so is making a bad decision.  

Dennis Williams  

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Oct 26 2006 - 01:33:43 CDT

Original text of this message

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