环境:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /oracle/app/oracle/product/10.2/db
System name: AIX
Node name: RESDB1
Release: 1
Version: 6
Machine: 00CD21164C00
Instance name: nrms1
今天在alert里面发现这个错误,ORA-07445: exception encountered: core dump [opiptp+0040] [SIGSEGV] [Address not mapped to object] [0x11113A360]我metlink检查了一下,发现这篇文章描述如下:
Connection Is Lost On Insert or Select Connect by With ORA-7445 [opiptp()+50] [ID 436199.1] | | | 修改时间 06-APR-2012 类型 PROBLEM 状态 PUBLISHED | |
In this Document
[size=-1] Symptoms
Cause
Solution
References
Applies to:Oracle Server - Enterprise Edition - Version: 10.2.0.2 to 10.2.0.5 - Release: 10.2 to 10.2
Information in this document applies to any platform.
***Checked for relevance on 06-APR-2012***SymptomsOn 10.2.0.3 in Production:
When attempting to insert append to global temporary table the following error occurs.
connection is lost with ORA-03113, logged for the client
The following error logged at the alert log file ORA-07445: Exception aufgetreten: CORE Dump [opiptp()+50] [SIGSEGV] [Address not mapped to object] [0xB718CABC] [] []
The stack trace is similar to:
opiptp opiptc opiexe opipls opiodr rpidrus
Users cannot insert append or select from table.
CauseThe issue is caused by the following Bug 5968363 : ORA-7445 [_OPIPTP+50] FROM A COMPLEX QUERY WITH A CONNECT BY, WITH, FUNCTION CALL .
The Bug is not backport able , This issue is fixed in 11.1.0.7
SolutionPossible workarunds are:
1. set the parameter "_optimizer_connect_by_cost_based" to false , at the database level :
SQL> alter system set "_optimizer_connect_by_cost_based" = false scope=both ;
OR
2. set the parameter "_optimizer_connect_by_cost_based" to false , at the session level :
SQL> alter session set "_optimizer_connect_by_cost_based" = false;
OR
3. Add /*+ NO_CONNECT_BY_COST_BASED */ hint to the query, instead of setting the parameter
The effect of this parameter , is it just disables the optimizer to use cost-based transformation for connect by queries only.
----but 这个里面的参数和我的不一样:文章是opiptp()+50。我的是:[opiptp+0040]
问题:我找的这篇文章对不对啊?
我看了trace文件
nrms1_ora_30147244.rar
(352.08 KB, 下载次数: 1139)
,是一个查询引起的,我发来是想看看刘大是怎么分析的,学习一下练习读懂trace文件。请刘大在写分析过程的时候多写一点,谢谢。 |