Parallel loading with SQL loader Direct path

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
saikrishna
Participant
Posts: 158
Joined: Tue Mar 15, 2005 3:16 am

Parallel loading with SQL loader Direct path

Post by saikrishna »

Hi

We were having multiple huge sized input files, that needs to be loaded to a single table.

We designed a job, which gets data from a file and load it to table.

SEQFILE -> TFM -> Oracle SQL Loader Stage

We enabled multiple instance to this job.

Currently we would like to run multiple instances of this job parallelly with different file parameters.

Currently it is giving the following error:


loadFactClickStream.2.Fact_clickstream: 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


Is there any way to specify PARALLEL= TRUE in the control file it is going to generate and use. We could not see any Parallel option in the Oracle SQL loader stage.

Can you please give us your thoughts on how do we do this problem.

Thanks
Sai
gabrielac
Participant
Posts: 29
Joined: Mon Sep 26, 2005 3:39 pm

Post by gabrielac »

I believe your problem is that Oracle does not allow multiple simultaneous LOADs to the same table at the same time.
HTH,
Gaby
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That can only work if the target table is partitioned and each instance loads a specific partition, I believe.
-craig

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