Page 1 of 1

Bulk Loader using oracle 10g

Posted: Tue Nov 07, 2006 10:33 pm
by SPA_BI
Currently I use an ORAOCI9 Stage to Update existing records and Insert new ones. I'd like to use a bulk loader to carry out this process as it currently takes a long time to load records. Is this possible?

Can anyone give me some suggestions?

Posted: Wed Nov 08, 2006 12:39 am
by chulett
Give it a try... the OCI Bulk stage works fine with 10g from my experience.

Re: Bulk Loader using oracle 10g

Posted: Thu Nov 09, 2006 10:21 pm
by Chuah
SPA_BI wrote:Currently I use an ORAOCI9 Stage to Update existing records and Insert new ones. I'd like to use a bulk loader to carry out this process as it currently takes a long time to load records. Is this possible?

Can anyone give me some suggestions?
Hi,

Don't think sqlloader lets your perform UPDATES but for INSERTs it's what it's designed for . SO in your job split your UPDATES and INSERTS, for updates you'll still need to use ORAOCI9 but for the INSERTs try sqlloader.

Posted: Thu Nov 09, 2006 11:34 pm
by chulett
You can also try a couple of other techniques. One is to bulk load your inserts directly into the target table and bulk load the updates into a work table. Then an Oracle MERGE can perform the updates.

Another approach is to ensure all you do are inserts. Any changed records can be deleted from the target first and then everything can be bulk loaded as an insert.

Always more than one way to approach something, it seems. :wink:

Posted: Fri Nov 10, 2006 7:26 am
by DSguru2B
You know what the experts say, "If you cannot find atleast two ways of achieving a task, you just havent thought hard enough" :wink: