Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Tuning Query w/database link
You might also try your remote access as an inline query. In older
versions, this would result in the inline query being passed to remote
db and the result set passed back as a single operation, not a series of
network trips during a join.
Example (from memory):
select *
from (select * from test_view_at_remotenode where alra_id = 100001) a,
project_accounting_costs b
where b.source_id = a.alra_id
/
Regards,
Daniel Fink
Igor Neyman wrote:
>>select * from test_view_at_remotenode a,
>>project_accounting_costs b where a.alra_id=b.source_id and
>>b.source_id=100001;
>>
>>
>
>since a.alra_id=b.source_id, could you change your query to:
>
>a.alra_id=100001 (instead of b.source_id=100001), so:
>
>select * from test_view_at_remotenode a,
> project_accounting_costs b
>where a.alra_id=b.source_id
> and a.alra_id=100001;
>
>Igor Neyman, OCP DBA
>ineyman_at_perceptron.com
>
>
>
>
>
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Aug 06 2004 - 15:40:53 CDT
![]() |
![]() |