11.2.0.1bug引發的報錯:ORA-07445: exception encountered
11.2.0.1bug引發的報錯:ORA-07445: exception encountered
問題背景:客戶反饋DB每天產生的incident日誌很多,需要排查原因
1> 檢視alert日誌發現大量的ORA-07445、ORA-00600錯誤
Errors in file /data/oracle/diag/rdbms/bydata/bydata/trace/bydata_mmon_3667.trc (incident=111052):
ORA-00600: internal error code, arguments: [6200], [18446744073709551615], [], [], [], [], [], [], [], [], [], []
Exception [type: SIGSEGV, SI_KERNEL(general_protection)] [ADDR:0x0] [PC:0x2278EA1, kghstack_err()+85] [flags: 0x0, count: 1]
Errors in file /data/oracle/diag/rdbms/bydata/bydata/trace/bydata_mmon_3667.trc (incident=111053):
ORA-07445: exception encountered: core dump [kghstack_err()+85] [SIGSEGV] [ADDR:0x0] [PC:0x2278EA1] [SI_KERNEL(general_protection)] []
ORA-00600: internal error code, arguments: [6200], [18446744073709551615], [], [], [], [], [], [], [], [], [], []
Incident details in: /data/oracle/diag/rdbms/bydata/bydata/incident/incdir_111053/bydata_mmon_3667_i111053.trc
Mon Oct 21 09:50:30 2019
一般情況下,ORA-600被證明為oracle的內部錯誤,通常由資料檔案的壞塊或者oracle的bug引起
首先檢視是否有資料檔案壞塊,
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@OA_oracle incident]$ dbv file=/data/oracle/oradata/oradb/tablespace/oradb_DATA.DBF
DBVERIFY: Release 11.2.0.1.0 - Production on Mon Oct 21 10:25:28 2019
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
DBVERIFY - Verification starting : FILE = /data/oracle/oradata/oradb/tablespace/oradb_DATA.DBF
DBVERIFY - Verification complete
Total Pages Examined : 57600
Total Pages Processed (Data) : 20706
Total Pages Failing (Data) : 0
Total Pages Processed (Index): 11725
Total Pages Failing (Index): 0
Total Pages Processed (Other): 13062
Total Pages Processed (Seg) : 0
Total Pages Failing (Seg) : 0
Total Pages Empty : 12107
Total Pages Marked Corrupt : 0
Total Pages Influx : 0
Total Pages Encrypted : 0
Highest block SCN : 296071350 (0.296071350)
檢視所有的資料檔案均未發現壞塊現象
2> 檢視 trace裡有大量的SQL引用多個left outer join
檢視mos和BUG 9050716比較匹配,當前SQL引用多個left outer join,在11.2.0.1.0版本,外關聯存在多個BUG,
建議禁用_optimizer_join_elimination_enabled引數問題解決
檢視隱含引數的語句
SELECT ksppinm, ksppstvl, ksppdesc FROM x$ksppi x, x$ksppcv y WHERE x.indx = y.indx AND ksppinm like '_optimizer%';
SQL> SELECT ksppinm, ksppstvl, ksppdesc FROM x$ksppi x, x$ksppcv y WHERE x.indx = y.indx AND ksppinm like '_optimizer_join%';
KSPPINM KSPPSTVL KSPPDESC
----------------------------------- ------------------------- ---------------------------------------------------------------------------
_optimizer_join_sel_sanity_check TRUE enable/disable sanity check for multi-column join selectivity
_optimizer_join_order_control 3 controls the optimizer join order search algorithm
_optimizer_join_elimination_enabled TRUE optimizer join elimination enabled
_optimizer_join_factorization TRUE use join factorization transformation
修改隱含引數_optimizer_join_elimination_enabled
alter system set "_optimizer_join_elimination_enabled" =false scope=both;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69950231/viewspace-2660847/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-07445: exception encountered: core dump [qervwRowProcedure()+133]Exception
- ORA-07445: exception encountered: core dump [kglic0()+774]Exception
- ORA-07445: exception encountered: core dump [kksIsNLSEqual()+72] [SIGSEGV] [Address not mapped to obExceptionGseAPP
- python: invalid value encountered in divide以及invalid value encountered in double_scalars報錯PythonIDE
- ORA-07445異常報錯opixguid()+13GUI
- 使用URLClassLoader報錯not class found exceptionException
- ora-07445[kcbo_link_ql] ora-07445[kggckh]bug引發例項意外關閉GC
- 堆疊溢位報錯引發的思考
- Java報錯:Exception in thread "main" java.lang.UnsupportedClassVersionErrorJavaExceptionthreadAIError
- @AllArgsConstructor與@Value共同使用引發的報錯問題Struct
- RocketMQ報錯:rocketmq.remoting.exception.RemotingTooMuchRequestException: sendDefaultImpl call timeoutMQREMExceptionOOM
- 執行composer install報錯:Symfony\Component\Process\Exception\ProcessTimedOutExceptionException
- PGA引發的ORA-04030報錯的處理思路
- group by 引發的錯誤
- Appcrawler 執行報錯 Exception in thread "main" java.lang.NullPointerExceptionAPPExceptionthreadAIJavaNull
- 由ASP.NET Core WebApi新增Swagger報錯引發的探究ASP.NETWebAPISwagger
- Pytest 引數化報錯
- jmeter報錯“Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]“JMeterExceptionthreadAI
- ORA-07445 [kslgetl()+80] ORA-00108主機名配置不一致引起的報錯
- 報錯:nested exception is java.lang.NoClassDefFoundError: org/fusesource/hawtbuf/UTF8BufferExceptionJavaError
- MySQL 中一個雙引號的錯位引發的血案MySql
- livewire 中wire:click=test('中文引數')引數報錯
- myeclipse執行tomcat報錯Exception in thread "main" java.lang.OutOfMemoryError: PermGen space...EclipseTomcatExceptionthreadAIJavaError
- Sqlserver使用遊標迴圈查詢所有sqlserver error日誌帶有Exception的報錯SQLServerErrorException
- Elasticsearch 6 建立索引報錯 invalid_index_name_exception Invalid index name [testDemo], must be lowercaseElasticsearch索引IndexException
- dubbo和spring結合報錯 Invocation of init method failed; nested exception is java.lang.IllegalArgumentExceSpringAIExceptionJava
- Druid連線池引數maxWait配置錯誤引發的問題UIAI
- ORA-07445 [kghbigghs]
- ORA-07445: 出現異常錯誤: 核心轉儲 [kkqstcrf()+1355]CRF
- 事故現場:MySQL 中一個雙引號的錯位引發的血案MySql
- SQLSERVER 語句交錯引發的死鎖研究SQLServer
- 斷點除錯之壓縮引發的血案斷點除錯
- 一次composer錯誤使用引發的思考
- 記錄解決HttpServletResponse在引數報錯的問題HTTPServlet
- PHP 方法重寫,引數不同,報錯: DeclarationPHP
- 如何查詢ORA-07445 ORA-00600錯誤相關資訊
- 遭遇ORA-07445 的一個BUG
- ORA-07445: [kkqtutlSetViewCols()+250]QTTLSView