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: group by clause filling up temp space

Re: group by clause filling up temp space

From: Daniel Fink <danielwfink_at_yahoo.com>
Date: 30 Aug 2005 12:56:54 -0700
Message-ID: <1125431814.886983.224080@f14g2000cwb.googlegroups.com>


Look at the BYTES and CARD of the HASH JOIN. A quick look tells me that these numbers are way too huge! The number of bytes estimated for the hash join is 6,958,868,504,868 (roughly 6.5 terabytes!).

My first thought is that a NESTED_LOOP would be a better operation. But the optimizer is not choosing it, why? Are there indexes on a.sid and b.sid? If not, you might look at them to see if a better execution plan is the result. Received on Tue Aug 30 2005 - 14:56:54 CDT

Original text of this message

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