Oracle Stage load problem

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
h4rd1
Participant
Posts: 8
Joined: Mon Oct 19, 2009 2:09 am

Oracle Stage load problem

Post by h4rd1 »

Hi all

i have a problem when loading data to oracle stage enterprise in write method : Load and write mode : append.

i have a job to insert data from source to oracle for staging,

ODBC >> Oracle Stage

the problem is the job cannot finish, when i view the job, it's all stuck when loading data to oracle.

when i change the the write method to upsert the job running perfectly. did miss something where configure datastage ?

currently i using ds 8,0,1 fp 2 and windows 2003 sp2.


Thanks for any reply


Hardi
ragavendradineshdsx
Participant
Posts: 15
Joined: Sat Nov 14, 2009 3:38 am

Post by ragavendradineshdsx »

Hi all,

Yes,,, even i'm facing the same issue. But, in my case, i'm receiving the below error.

main_program: Internal Error: (0):util/pathutils.C: 403: Unable to determine current working directory: Too many open files
Traceback: Could not obtain stack trace; check that 'dbx' and 'sed' are installed and on your PATH


Later, i changed the Write option to "Upsert" and "Update then Insert" and now job is working fine. But, my requirement is to first truncate the table & load the fresh data.

Any help is appreciated.
Thanks & Regards,
Ragavendra Dinesh C
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The "LOAD" method requires exclusive access, unlike the "upsert" mode, talk to your DBA to check on who is holding locks to the table when you try a bulk load.
h4rd1
Participant
Posts: 8
Joined: Mon Oct 19, 2009 2:09 am

Post by h4rd1 »

Thanks for the reply.

What kind of privileges that the user need ?


Thanks


Hardi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Depends on what the user needs to do. Chat with your DBA.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vjonnala1516
Participant
Posts: 18
Joined: Fri Jan 04, 2008 5:28 am
Location: Bangalore

Post by vjonnala1516 »

hi, look like table got locked..please verify that..
VJ
h4rd1
Participant
Posts: 8
Joined: Mon Oct 19, 2009 2:09 am

Post by h4rd1 »

i consult with the dba and check all the session that connect when the job start. there is no any session that lock the table.

here is the screen shot of the job and also the log that i got from Director.Image

Thanks

Hardi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You're probably locking yourself. Does it run fine on one node?

ps. Your image link is no good.
-craig

"You can never have too many knives" -- Logan Nine Fingers
h4rd1
Participant
Posts: 8
Joined: Mon Oct 19, 2009 2:09 am

Post by h4rd1 »

Image

i run it like this
h4rd1
Participant
Posts: 8
Joined: Mon Oct 19, 2009 2:09 am

Post by h4rd1 »

heloo


can any one help me with this ?

Thanks


Hardi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Answer the node question.
-craig

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