編譯檢視導致ORA-00600_17069錯誤
1.檢視600錯誤的trc檔案如下:
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [17069], [0x700000979A47E38], [], [], [], [], [], []
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
Current SQL statement for this session:
ALTER VIEW "DB_YW"."V_FIRST" COMPILE
O/S info: user: lenovo4876, term: LENOVO, ospid: 4508:332, machine: WORKGROUP\LENOVO
program: plsqldev.exe
client info: 192.168.1.5
2.透過metalink搜尋,發現符合以下ORA-00600 17069的描述:
DESCRIPTION:
Failed to pin a library cache object after 50 attempts.
ARGUMENTS:
Arg [a] Library Cache Object Handle.
FUNCTIONALITY:
GENERIC LAYER
IMPACT:
PROCESS FAILURE
NO DATA CORRUPTION
3.檢查被鎖定物件,發現檢視DB_YW.V_FIRST涉及到的表一直有被中介軟體鎖定:
SQL> select session_id,oracle_username,os_user_name,d.object_name from v$locked_object l,dba_objects d
2 where l.OBJECT_ID=d.object_id and d.object_name in ('T_ZS_YZMX','T_DM_GY_ZSXM','T_DM_GY_ZSPM','V_KT_DWJFDJXX_ZLTEST','T_SB_YZPZ','V_SEC');
SESSION_ID ORACLE_USERNAME OS_USER_NAME OBJECT_NAME
---------- ------------------------------ ------------------------------ --------------------------------------------------------------------------------
2578 DB_ZGXT weblogic T_ZS_YZMX
2578 DB_ZGXT weblogic T_SB_YZPZ
2578 DB_ZGXT weblogic T_ZS_YZMX
2578 DB_ZGXT weblogic T_DM_GY_ZSPM
2578 DB_ZGXT weblogic T_SB_YZPZ
890 DB_ZGXT weblogic T_ZS_YZMX
890 DB_ZGXT weblogic T_SB_YZPZ
890 DB_ZGXT weblogic T_DM_GY_ZSPM
890 DB_ZGXT weblogic T_SB_YZPZ
890 DB_ZGXT weblogic T_ZS_YZMX
4.透過與IP為192.168.1.5的開發人員溝通,得知整個事情的經過。該開發人員執行SQL語句中包含或觸發以下編譯語句:
ALTER VIEW "DB_YW"."V_FIRST" COMPILE
而同時由於檢視DB_TUNNING.V_FIRST中包含物件一直被中介軟體鎖定,導致編譯語句鎖定記憶體物件失敗50次以上,從而導致
ORA-00600 17069錯誤。已和該開發人員聯絡,建議其在非工作時間執行該語句。
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [17069], [0x700000979A47E38], [], [], [], [], [], []
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
ORA-00928: missing SELECT keyword
Current SQL statement for this session:
ALTER VIEW "DB_YW"."V_FIRST" COMPILE
O/S info: user: lenovo4876, term: LENOVO, ospid: 4508:332, machine: WORKGROUP\LENOVO
program: plsqldev.exe
client info: 192.168.1.5
2.透過metalink搜尋,發現符合以下ORA-00600 17069的描述:
DESCRIPTION:
Failed to pin a library cache object after 50 attempts.
ARGUMENTS:
Arg [a] Library Cache Object Handle.
FUNCTIONALITY:
GENERIC LAYER
IMPACT:
PROCESS FAILURE
NO DATA CORRUPTION
3.檢查被鎖定物件,發現檢視DB_YW.V_FIRST涉及到的表一直有被中介軟體鎖定:
SQL> select session_id,oracle_username,os_user_name,d.object_name from v$locked_object l,dba_objects d
2 where l.OBJECT_ID=d.object_id and d.object_name in ('T_ZS_YZMX','T_DM_GY_ZSXM','T_DM_GY_ZSPM','V_KT_DWJFDJXX_ZLTEST','T_SB_YZPZ','V_SEC');
SESSION_ID ORACLE_USERNAME OS_USER_NAME OBJECT_NAME
---------- ------------------------------ ------------------------------ --------------------------------------------------------------------------------
2578 DB_ZGXT weblogic T_ZS_YZMX
2578 DB_ZGXT weblogic T_SB_YZPZ
2578 DB_ZGXT weblogic T_ZS_YZMX
2578 DB_ZGXT weblogic T_DM_GY_ZSPM
2578 DB_ZGXT weblogic T_SB_YZPZ
890 DB_ZGXT weblogic T_ZS_YZMX
890 DB_ZGXT weblogic T_SB_YZPZ
890 DB_ZGXT weblogic T_DM_GY_ZSPM
890 DB_ZGXT weblogic T_SB_YZPZ
890 DB_ZGXT weblogic T_ZS_YZMX
4.透過與IP為192.168.1.5的開發人員溝通,得知整個事情的經過。該開發人員執行SQL語句中包含或觸發以下編譯語句:
ALTER VIEW "DB_YW"."V_FIRST" COMPILE
而同時由於檢視DB_TUNNING.V_FIRST中包含物件一直被中介軟體鎖定,導致編譯語句鎖定記憶體物件失敗50次以上,從而導致
ORA-00600 17069錯誤。已和該開發人員聯絡,建議其在非工作時間執行該語句。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29468144/viewspace-1076716/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Lombok 的@ToString導致的Maven編譯錯誤LombokMaven編譯
- 編譯過程導致ORA-4068錯誤編譯
- 升級Xcode10導致的編譯錯誤XCode編譯
- Bitcode導致的編譯報錯編譯
- 編譯錯誤導致浪費10多分鐘, 編譯錯誤的提示:xxx does not name a type xxx編譯
- [譯] RxJS: 避免因濫用 switchMap 而導致錯誤JS
- VS 編譯錯誤編譯
- ipvs編譯錯誤編譯
- php編譯小錯誤PHP編譯
- 編譯PHP的錯誤編譯PHP
- 多餘索引導致explain錯誤索引AI
- 檢視編譯引數編譯
- 編譯引數檢視編譯
- 檢視nginxapachemysqlphp原始編譯NginxApacheMySqlPHP編譯
- 錯誤日誌檢視
- impdp時parallel=4導致的錯誤Parallel
- opencv 編譯常見錯誤OpenCV編譯
- 最近編譯tolua_runtime安卓編譯錯誤編譯安卓
- 又見想當然導致的誤譯
- 經典的編譯錯誤 (轉)編譯
- Oracle 物化檢視 詳細錯誤描述 檢視方法Oracle
- PHP編譯安裝時常見錯誤解決辦法,php編譯常見錯誤PHP編譯
- IDEA報錯java: 編譯失敗: 內部 java 編譯器錯誤IdeaJava編譯
- mysql錯誤碼的檢視方法MySql
- merge語句導致的ORA錯誤分析
- Include檔案易犯編譯錯誤編譯
- 編譯錯誤,請教一下!編譯
- 物化檢視匯出匯入可能導致物化檢視日誌的失效
- 【爬坑】.Net編譯環境導致的問題編譯
- vim 編輯報錯導致無法正常退出和編輯
- ORA-06502報錯導致資料庫所有檢視無法修改。資料庫
- aix errpt檢視系統錯誤AI
- ORA-04031錯誤導致當機案例分析
- 如何解決url傳參導致錯誤問題
- 修復svn hook導致的字符集錯誤Hook
- Oracle GoldenGate導致IMP出現ORACLE 32588錯誤OracleGo
- 錯誤思維導向致IT專案問題多
- sys密碼修改導致的RMAN-00571錯誤密碼