編譯檢視導致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編譯
- 升級Xcode10導致的編譯錯誤XCode編譯
- path_provider 編譯錯誤指導IDE編譯
- [譯] RxJS: 避免因濫用 switchMap 而導致錯誤JS
- flutter庫【path_provider】編譯錯誤指導FlutterIDE編譯
- ipvs編譯錯誤編譯
- opencv 編譯常見錯誤OpenCV編譯
- 又見想當然導致的誤譯
- IDEA報錯java: 編譯失敗: 內部 java 編譯器錯誤IdeaJava編譯
- PHP編譯安裝時常見錯誤解決辦法,php編譯常見錯誤PHP編譯
- Include檔案易犯編譯錯誤編譯
- Idea編譯錯誤解決辦法Idea編譯
- AndroidStudio之NDK常見編譯錯誤Android編譯
- ORA-04031錯誤導致當機案例分析
- Android編譯通過,執行編譯錯誤問題總結Android編譯
- xcode6編譯錯誤,提示Expected a typeXCode編譯
- vim 編輯報錯導致無法正常退出和編輯
- 【爬坑】.Net編譯環境導致的問題編譯
- PHP編譯configure時常見錯誤,和PHP7.1.4 編譯安裝PHP編譯
- 利用Windbg分析Magicodes.IE一次錯誤編寫導致記憶體劇增記憶體
- Ubuntu上的pycrypto給出了編譯器錯誤Ubuntu編譯
- Docker環境編譯時的錯誤記錄Docker編譯
- 精讀《手寫 SQL 編譯器 - 錯誤提示》SQL編譯
- smt加工這些失誤會導致smt加工出錯
- 12.2.0.1bug導致的Failed to register in OCRLOCAL group.錯誤AI
- win10系統怎麼檢視系統錯誤日誌_win10如何檢視錯誤日誌Win10
- 如何優雅地檢視 JS 錯誤堆疊?JS
- C++編譯錯誤的正確查詢方式C++編譯
- 求助,.NET反編譯有兩萬多個錯誤編譯
- Win10下Qt+OpenCV+Cmake編譯錯誤Win10QTOpenCV編譯
- [求教] jmeter5.3 原始碼編譯報 autostyleKotlinCheck 錯誤JMeter原始碼編譯Kotlin
- Session物件改變請求頭值導致的401錯誤Session物件
- 什麼會導致HTTP代理出現400錯誤請求HTTP
- 動態建立 @ViewChild 導致執行時錯誤的原因分析View
- 記錄一次homestead意外關閉導致的錯誤
- PostgreSQL DBA(29) - Backup&Recovery#2(日期格式導致的錯誤)SQL
- python(django(管路頁面、概況、編寫檢視佔位、編寫一個真正的檢視、丟擲錯誤、檢視使用模板系統、去除硬編碼url、為url新增命名開空間、編寫表單))PythonDjango
- C語言程式碼區錯誤以及編譯過程C語言編譯
- 【翻譯】iOS 檢視的程式設計指導(一)iOS程式設計