由于唯一性索引所产生的死锁:
一. 初始化
create table t (x number primary key );
insert into t values ( 1 );
insert into t values ( 2 );
insert into t values ( 3 );
insert into t values ( 4 );
二.产生过程
session A:
update t set x = 5 where x = 1;
session B: (session 19)
update t set x=6 where x=3;
update t set x=5 where x=4;
session A: (session 18)
update t set x=6 where x=2;
1) A session may self deadlock when updating tables which are referenced by a materialized view
2) A self deadlock (ORA-4020) can occur if DBMS_SPACE and DBMS_STATS are called in the same PLSQL user call against an IOT table.
3) Autonomous_transaction with DB link to shared server can self deadlock on DX This note gives a brief overview of bug 4627237
4) Transaction can self deadlock on the HW enqueue at COMMIT time when using automatic undo management.
5) Self deadlock (ORA-60) possible on LOB index update
6) AQ jms message notification
1) A session may self deadlock when updating tables which are referenced by a materialized view
2) A self deadlock (ORA-4020) can occur if DBMS_SPACE and DBMS_STATS are called in the same PLSQL user call against an IOT table.
3) Autonomous_transaction with DB link to shared server can self deadlock on DX This note gives a brief overview of bug 4627237
4) Transaction can self deadlock on the HW enqueue at COMMIT time when using automatic undo management.
5) Self deadlock (ORA-60) possible on LOB index update
6) AQ jms message notification [/B]