今天有个同事说生产机有个PERL脚本老是报死锁的错误,脚本里面开启了并行度:错误如下:
Failure: ORA-12801: error signaled in parallel query server P126, instance NMS_ODS_NDB1:wgods1 (1)
ORA-00060: deadlock detected while waiting for resource (DBD ERROR: OCIStmtExecute)
检查了所有的脚本后,发现没有其他会话、进程造成脚本里面ODS表的死锁,后来搜索发现http://jidongzheng.itpub.net/post/37572/524285里面介绍,这是ORACLE的一个bug4896424,并行DML可能会导致ORA-00060错误失败。产品(组件)Oracle服务器(RDBMS)相信受影响版本的范围<11版本受影响10.2.0.3版本确认10.2.0.4
原文:
在metalink上查询原因,结果发现是一个 bug。Bug 4896424 Parallel DML can fail with ORA-00060 This note gives a brief overview of bug 4896424. The content was last updated on: 23-SEP-2008 Click here for details of each of the sections below.
Affects:
Product (Component) Oracle Server (Rdbms) Range of versions believed to be affected Versions < 11 Versions confirmed as being affected 10.2.0.3 10.2.0.4