Oracle Deadlock

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
Aravind
Participant
Posts: 16
Joined: Mon Dec 27, 2004 4:17 pm

Oracle Deadlock

Post by Aravind »

Hi,

Another issue.

Job design is as follows

HashFile --> Transformer --- > INSERT/UPDATE TO TABLE
|
|
Lookup Table

Lookup table is the same table that i am inserting and updating to..
Will this work ... In the log i can see oracle deadlock messages
can it be due to simulatneous read/write by this job

Thanks in advance
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
You already ahve the answer to the problem.
How are having the same link table for reading and simultaneous updates?


Ketfos
Aravind
Participant
Posts: 16
Joined: Mon Dec 27, 2004 4:17 pm

Post by Aravind »

ketfos wrote:Hi,
You already ahve the answer to the problem.
How are having the same link table for reading and simultaneous updates?


Ketfos
But evenif I do that the record will first do a lookup and then go for the insert/update right. Am I missing out something..
Aravind
Participant
Posts: 16
Joined: Mon Dec 27, 2004 4:17 pm

Re: Oracle Deadlock

Post by Aravind »

I thought of two ways

(*) Having the update records to be in a sequential file and then do the update operation afterwards
(*) cHAGNE THE ARRAY SIZE AND THE ROW TRANSACTION TO 1 IN THE ORACLE STAGE.

Will this solve the probelm.

Thanks in advance
Post Reply