检查了所有的脚本后,发现没有其他会话、进程造成脚本里面ODS表的死锁,后来搜索发现,这是ORACLE的一个bug4896424,并行DML可能
有个同事说生产机有个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表的死锁,后来搜索发现,这是oracle的一个bug4896424,并行dml可能会导致ora-00060错误失败。产品(组件)oracle服务器(rdbms)相信受影响版本的范围
原文:
在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
----------------------------------分割线----------------------------------
ORA-12801: 并行查询服务器 P047, instance zjjhdb2:fras2 (2) 中发出错误信号
ORA-00060: 等待资源时检测到死锁
ORA-06512: 在 "FRAS_STORE.A000_GET_ACCT_NAME_FROM_BOSS", line 10
在metalink上查询原因,结果发现是一个 bug.
Bug 4896424 Parallel DML can fail with ORA-60
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 Versions confirmed as being affected 10.2.0.3
10.2.0.4
Platforms affected Generic (all / most platforms affected)
Fixed:
This issue is fixed in 10.2.0.5 (Server Patch Set)
11.1.0.6 (Base Release)

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号