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!

Cursor Fetch Over Database Link?

173651Apr 20 2007 — edited Apr 23 2007
We have a view that does a simple select over a database link. Running a select against this view returns in a couple of seconds. If we put the same SQL in a cursor, it takes over 3 minutes to return!

I have an idea as to why it's taking so much longer when in a cursor, but I'd like to hear from the experts.

Can someone explain why this is happening, and if there's any way to speed up the select when in a cursor?

Thanks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 21 2007
Added on Apr 20 2007
3 comments
1,039 views