This discussion is archived
0 Replies Latest reply: May 24, 2012 3:32 AM by 939475 RSS

ODI 10g - session keep a table locked

939475 Newbie
Currently Being Moderated
Hi,

We have a random issue, with ODI session that keep a lock on a table, even replication is finished and session becomes inactive

It generated dead locks as a trigger has to update the target table.

what happened :
- user application create rows (13)
- ODI scenario replicate the rows (contract table)
- 2nd scenario based on same source with another sunscriber run a stored procedure to create records in another table (around 30, positions table)
this 2nd locked the target table, and when the run of the procedure finished, and commited, the lock was not released
- ODI replicate another table (price) 30mn later, a trigger on target update position table with new values
---> trigger failed with deadlock (ora 60)
---> ODI failed as the trigger raised back the error

this issue happened after 10 hours of same activity without issue, chained lot of time, but suddenly the lock become persistent (more than 4 hours)

what can I do?

use ODI 10g 10.1.3.5.0 - RDBMS 10.2.0.4

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points