ITeye博客

oracle

共 1 篇文章

oracle锁等待/死锁原因分析

1。模拟死锁 1。1。主表 -- Create table create table WDZ1 ( WDZ1ID NUMBER not null, MEMO VARCHAR2(20) ) ; alter table WDZ1 add constraint XXXXXX primary key (WDZ1ID); 1。2。从表(没有外健的索引) -- Create table create table WDZ2 ( WDZ2ID NUMBER not null, WDZ1ID NUMBER, MEMO VARCHAR2(20) ) ; -- Create/Recreate primary, u…

2011-04-18 10:28 · oracle · Oracle