記一次ORA-00600,ORA-10173報錯
ORA-00600,ORA-10173
1.1故障環境介紹
專案 | DB Info |
---|---|
DB型別 | RAC |
Version | 12.1.0.2 |
DB Storage | ASM |
1.2報錯資訊
ORA-00600: internal error code, arguments: [qerltcUserIterGet_1], [1], [1], [], [], [], [], [], [], [], [], [] ORA-10173: Dynamic Sampling time-out error
1.3 ORA-10173故障分析及解決步驟
1.3.1 查詢完整的Alert Log
擷取完整的 Alert Log如下
Tue Dec 25 10:28:08 2018
Errors in file /oracle/app/diag/rdbms/fdcondb/FDCONDB1/trace/FDCONDB1_ora_32192.trc (incident=179052):
ORA-00600: internal error code, arguments: [qerltcUserIterGet_1], [1], [1], [], [], [], [], [], [], [], [], []
ORA-10173: Dynamic Sampling time-out error
Incident details in: /oracle/app/diag/rdbms/fdcondb/FDCONDB1/incident/incdir_179052/FDCONDB1_ora_32192_i179052.trc
1.3.2 獲取相關Trace檔案
通過Alert Log中的資訊,可以獲取到異常時間點對應的的Trace檔案的路徑及對應的檔案
可以獲取到如下資訊
*** 2018-12-25 10:28:08.412 *** SESSION ID:(5678.43206) 2018-12-25 10:28:08.412 *** CLIENT ID:() 2018-12-25 10:28:08.412 *** SERVICE NAME:(FDCONDB) 2018-12-25 10:28:08.412 *** MODULE NAME:(DSPHost.exe) 2018-12-25 10:28:08.412 *** CLIENT DRIVER:(ODPM.NET) 2018-12-25 10:28:08.412 *** ACTION NAME:() 2018-12-25 10:28:08.412 [TOC00000] Jump to table of contents Dump continued from file: /oracle/app/diag/rdbms/fdcondb/FDCONDB1/trace/FDCONDB1_ora_32192.trc [TOC00001] ORA-00600: internal error code, arguments: [qerltcUserIterGet_1], [1], [1], [], [], [], [], [], [], [], [], [] ORA-10173: Dynamic Sampling time-out error [TOC00001-END] [TOC00002] ========= Dump for incident 179052 (ORA 600 [qerltcUserIterGet_1]) ======== *** 2018-12-25 10:28:08.412 dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0) [TOC00003] ----- Current SQL Statement for this session (sql_id=bp1hy3m6y7ujb) -----
可以獲取到
- 對應的sql_id為bp1hy3m6y7ujb,並獲取到對應的SQL
- 通過Module_Name可以獲取到對應的程式名稱為DSPHost.exe(相關係統程式)
1.3.3 在MOS上查詢對應的ORA報錯
ORA-10173: Dynamic Sampling time-out error in alert.log (Doc ID 1491818.1)
可以看出來導致此報錯的原因為
Dynamic Sampling timeout is raised when the automatic SQL tuning job runs.
根據MOS的建議
The error is not harmful and will not affect the database. It will however stop the automatic job from completing.
針對上述異常可以採取的措施為
If you do not wish to run the Automatic Tuning Job it can be disabled as follows:
BEGIN
DBMS_AUTO_TASK_ADMIN.disable(
client_name => ‘sql tuning advisor’,
operation => NULL,
window_name => NULL);
END;
1.4針對ORA-00600
上述內容為針對ORA-10173的說明,繼續針對ORA-00600進行分析
檢查思路基本相似,明日會補上
參考檔案路徑
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=352059404543740&parent=EXTERNAL_SEARCH&sourceId=PROBLEM&id=1491818.1&_afrWindowMode=0&_adf.ctrl-state=108squkzjf_604