Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Cursor Over a DBLink

Re: Cursor Over a DBLink

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 12 Sep 2005 18:12:31 -0700
Message-ID: <1126573951.600720.252960@f14g2000cwb.googlegroups.com>


Marco, run an explain plan on the SQL. Take the SQL in the other column, which contains a copy of the SQL statement sent to the remote system, and explain it on the remote system. This will let you see how the query is being processed and perhaps let you determine if you can do anything that will aid the optimizer such as add an index.

You might want to look at the bulk load options of Oracle. Version 9.2+ allows you to identifty individual row errors while allowing the bulk operation to succeed.

If the total quantity of data being selected is actually fairly small you might be able to select it into a pl/sql table (array) and process the data in memory.

Different queries may require different techniques to be used to solve the problem in an efficient manner. Sometime one size does not fit all.

HTH -- Mark D Powell -- Received on Mon Sep 12 2005 - 20:12:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US