To Load data into different tables using bulk loaders

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Christina
Participant
Posts: 34
Joined: Wed Sep 06, 2006 11:50 am

To Load data into different tables using bulk loaders

Post by Christina »

Hi,
I am loading a data from one sequential file to 12 different tables. I have used 12 bulk loaders specifying the target table name in each bulk loader.While running the job i am getting the following error.

Internal Error: Unable to initialize the Direct Path Context
ORA-00604: error occurred at recursive SQL level 1
ORA-00054: resource busy and acquire with NOWAIT specified

can we use many bulk loaders specifying the table name?
Please help me on this.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Welcome. :D

The same table name? Nope. Different? Yes. Your message indicates that at least one table was 'busy' - in use by someone - and so could not be loaded.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rleishman
Premium Member
Premium Member
Posts: 252
Joined: Mon Sep 19, 2005 10:28 pm
Location: Melbourne, Australia
Contact:

Post by rleishman »

If you are locking yourself out (multiple loads to the same table) then read on:

Oracle won't let you perform multiple direct-path / parallel loads into the same table UNLESS each load is into a different partition, and the partition name is specified in the load spec.

I suspect this may also work with OCI Load in DataStage, but I haven't tried it. I notice that there is a Partition name attribute in the OCI Load Stage it is probably for that purpose.
Ross Leishman
Christina
Participant
Posts: 34
Joined: Wed Sep 06, 2006 11:50 am

Post by Christina »

i am loading into different tables. its working now. thank you.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What was the resolution? Best practice is to note the actual resolution to your issue, in case anyone comes searching with the same problem. That and please mark your topic as 'Resolved'. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply