Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

optimization over db link

johnnie dJul 9 2013 — edited Jul 11 2013

If I have a distributed transaction between a source and target database, such as :-

'INSERT INTO jim@target

SELECT * FROM jim@source

MINUS

SELECT * FROM jim@source AS AT :T'

*(where T is an arbitrary timestamp)

How do I force the SELECT and MINUS operations to take place on the SOURCE database only ?

At the moment the operations seem to always take place on the target database - that is, the legs of subquery are downloaded over SQL*Net and

the MINUS performed on the target DB. This is hideously inefficient.

Is there a parameter I need to set or a hint I need to run ?

Regs

JOhnnie

This post has been answered by Jonathan Lewis on Jul 9 2013
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 8 2013
Added on Jul 9 2013
7 comments
5,645 views