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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Performance on SQL which is using linked objects

Re: Performance on SQL which is using linked objects

From: Andreas Michler <Andreas.Michler_at_adicom.de>
Date: Thu, 03 Feb 2000 13:28:18 +0100
Message-ID: <38997462.9C3F8F07@adicom.de>


put the remote table as last in the from clause. Oracle is reading alle records from the most last table after from and then combine it with the others.
example
table1 = local
table2 = remote

select ....... from table1,table2 where .......

"PL.V. Kathiresan" wrote:

> Hi:
>
> I've an SQL which is using objects from two instances,
> through the DB link. When I select the values separately
> from the different instance's objects, it is very fast
> in retrieving the data (as per the plan). But it is
> very slow when the objects and the conditions are combined.
>
> What could be the problem ?
>
> Kathiresan

--



ADICOM Informatik GmbH
Andreas Michler
Wiesfleckenstr. 34
72336 Balingen
Tel: 07433/9977-57,Fax: -90
E-Mail: Andreas.Michler_at_adicom.de
http:\\www.adicom.de
Received on Thu Feb 03 2000 - 06:28:18 CST

Original text of this message

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