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: performance problems with hierarchical query and outer join

Re: performance problems with hierarchical query and outer join

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Sat, 25 Mar 2006 21:06:07 GMT
Message-Id: <pan.2006.03.25.21.06.05.765210@sbcglobal.net>


On Fri, 24 Mar 2006 09:46:53 +0100, Cris Carampa wrote:

> select
> mov0.*
> from
> FRN,
> MOV0
> where
> frn.all_cod(+) = mov0.all_cod and
> frn.lotto_entrata_id(+) = mov0.lotto_entrata_id
> start with
> ${some start condition on mov0}
> connect by
> ( mov0.all_cod = prior mov0.all_cod and mov0.zona_destinazione_id =
> prior mov0.zona_provenienza_id and mov0.box_destinazione_id = prior
> mov0.box_provenienza_id and mov0.fase_destinazione_dat_dal = prior
> mov0.fase_provenienza_dat_dal and mov0.movimento_data <= prior
> mov0.movimento_data )

May be, if you could put tables FRN and MOV in a cluster and cluster them on all_cod column?

-- 
http://www.mgogala.com
Received on Sat Mar 25 2006 - 15:06:07 CST

Original text of this message

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