Skip to Main Content

SQL & PL/SQL

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!

MINUS operation with remote table

554553Jun 18 2012 — edited Jun 22 2012
Hi all,

Please help me with this problem.

I have two tables with 20 columns each, one table resides on one database and the other table is accesed through a db link. Both tables contains +800,000 records.

I need to know the record differences between these two tables - this is a periodical process, not for once- , I am using a MINUS operation with full scan, the problem is that my query is taking long time to finish : +20 min. Also i tried witn COLUMN IN() instead MINUS but my query performance is worst.

Do you know another way to get the record differences with a better performance?

Thanks in advance

Edited by: Osymad on Jun 18, 2012 5:12 PM
This post has been answered by Peter vd Zwan on Jun 18 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2012
Added on Jun 18 2012
6 comments
186 views