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!

Slow query when joining local table to remote tables

799480Sep 22 2010 — edited Sep 22 2010
Hi there

I have a query that runs against our Oracle database in the US.
I have the query optimized and running quickly.

Now I need to join this query to a table in my local database, but whenever I do so my query time drops significantly.
I have tried rewriting the query at least 5 different ways, but nothing has helped.
I indexed the local table when I created it, but this did not seem to make any difference.

It says in my explain plan that I am doing a full table scan on my local table - should I try to avoid this?

Any suggestions welcome.

I will post explain plan or queries - if it will help.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2010
Added on Sep 22 2010
12 comments
3,699 views