Deadlock

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
sankawa
Participant
Posts: 11
Joined: Thu Sep 13, 2007 12:55 am

Deadlock

Post by sankawa »

Hi,

i am Using doing lookup and loading the data into Target.Target table contain Unique Key constrants,so i used remove Duplicate for that feild but it still showing the Error:ORA-00060: deadlock detected while waiting for resource.
Please tell what are the reasion for this error.

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

Post by chulett »

Have you talked to your DBA? Have you Googled for that error? :?

http://www.orafaq.com/faq/what_is_a_dea ... ock_errors
-craig

"You can never have too many knives" -- Logan Nine Fingers
Scope
Premium Member
Premium Member
Posts: 63
Joined: Wed Jun 06, 2007 6:38 am
Location: Chennai

Post by Scope »

Check The Target has Any Lock.If it so, Remove the locks and run the job.
Kumarez
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

:idea:
You don't fix deadlocks. You prevent them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jstrobel
Participant
Posts: 14
Joined: Thu Aug 23, 2007 2:07 pm
Location: Chicago
Contact:

Post by jstrobel »

I've seen situations where a deadlock occurs when there are multiple rows incoming with the same keys. If ORACLE stage isn't partitioned by the key, then it's possible for an upsert operation to occur on the same record in two different partitions (nodes) and thus using 2 different oracle connections. This contention can cause a deadlock as well.
Post Reply