91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

ORACLE ORA-00600: 內部錯誤代碼, 參數: [kokbcvb1]與merge into

發布時間:2020-08-08 19:52:22 來源:ITPUB博客 閱讀:228 作者:清風艾艾 欄目:關系型數據庫

 最近,一地市Oracle數據庫跑一個Job報錯,報錯內容如下:

    操作系統:windows server 2008R2

    數據庫版本:oracle 11.2.0.1

    報錯內容:

Fri Aug 11 11:08:14 2017
Errors in file d:\app\administrator\diag\rdbms\bmi\bmi\trace\bmi_ora_2376.trc  (incident=64225):
ORA-00600: 內部錯誤代碼, 參數: [kokbcvb1], [], [], [], [], [], [], [], [], [], [], []
Incident details in: d:\app\administrator\diag\rdbms\bmi\bmi\incident\incdir_64225\bmi_ora_2376_i64225.trc

查看告警日志提示的trc文件bmi_ora_2376_i64225.trc,報錯核心內容如下:

Dump file d:\app\administrator\diag\rdbms\bmi\bmi\incident\incdir_64225\bmi_ora_2376_i64225.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows NT Version V6.1 Service Pack 1 
CPU                 : 32 - type 8664, 16 Physical Cores
Process Affinity    : 0x0x0000000000000000
Memory (Avail/Total): Ph:88095M/130883M, Ph+PgF:218580M/261764M 
Instance name: bmi
Redo thread mounted by this instance: 1
Oracle process number: 78
Windows thread id: 2376, image: ORACLE.EXE (SHAD)
*** 2017-08-11 11:08:14.729
*** SESSION ID:(352.202) 2017-08-11 11:08:14.729
*** CLIENT ID:() 2017-08-11 11:08:14.729
*** SERVICE NAME:(bmi) 2017-08-11 11:08:14.729
*** MODULE NAME:(PL/SQL Developer) 2017-08-11 11:08:14.729
*** ACTION NAME:(Primary Session) 2017-08-11 11:08:14.729
Dump continued from file: d:\app\administrator\diag\rdbms\bmi\bmi\trace\bmi_ora_2376.trc
ORA-00600: 內部錯誤代碼, 參數: [kokbcvb1], [], [], [], [], [], [], [], [], [], [], []
========= Dump for incident 64225 (ORA 600 [kokbcvb1]) ========
*** 2017-08-11 11:08:14.729
dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0)
----- Current SQL Statement for this session (sql_id=14qa0m0uufbbv) -----
MERGE INTO DW_BILL T1 USING (SELECT B.HIS_ID, SUM(CASE WHEN B.REJECT_MONEY >= B.CAN_REJECT_MONEY THEN B.CAN_REJECT_MONEY ELSE B.REJECT_MONEY END) REJECT_MONEY, SUM(B.RULE_TYPE) RULE_TYPE, B.TABLE_PAR FROM (SELECT T.HIS_ID, T.DETAIL_ID, T.CAN_REJECT_MONEY, SUM(T.REJECT_MONEY) REJECT_MONEY, SUM(TO_NUMBER(T.RULE_TYPE)) RULE_TYPE, T.TABLE_PAR FROM TMP_DEDUCTIONPLAN_BILLDETAIL T GROUP BY T.HIS_ID, T.DETAIL_ID, T.CAN_REJECT_MONEY, T.TABLE_PAR) B GROUP BY B.HIS_ID, B.TABLE_PAR) T2 ON (T1.HISID = T2.HIS_ID AND T1.TABLE_PAR = T2.TABLE_PAR AND T1.TABLE_PAR >= :B2 AND T1.TABLE_PAR < :B1 ) WHEN MATCHED THEN UPDATE SET T1.BMI_NOPAY = CASE WHEN T1.BMI_NOPAY + T2.REJECT_MONEY >= T1.BMI_CONVERED_AMOUNT THEN T1.BMI_CONVERED_AMOUNT ELSE T1.BMI_NOPAY + T2.REJECT_MONEY END, T1.RULETYPE = CASE WHEN T2.RULE_TYPE > 0 THEN '1' ELSE T1.RULETYPE END, T1.AUDIT_RESULT_F = '3', T1.AUDIT_RESULT_S = '3', T1.ANDIT_MANU_STATUS = '3', T1.ANDIT_MANU_DATE = SYSDATE
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
0000000E1719FA18       111  package body BMI.PKG_D_REALMONEY_SUM
0000000E1719FA18        58  package body BMI.PKG_D_REALMONEY_SUM
0000000E1719FA18         8  package body BMI.PKG_D_REALMONEY_SUM
0000000E26CEDB20        15  package body BMI.PKG_DEDUCTION_REALMONEY
0000000E2F232798       156  package body BMI.PKG_DEDUCTION_COMMON
0000000E1E7739A0         1  anonymous block
0000000E1717C1A8       651  package body SYS.DBMS_IJOB
0000000E26CEF490       284  package body SYS.DBMS_JOB
0000000E0F00AEE8         1  anonymous block

根據trc文件提示,ORA-00600 [kokbcvb1] 是如下SQL引起的:

  MERGE INTO DW_BILL T1
  USING (SELECT B.HIS_ID,
                SUM(CASE
                      WHEN B.REJECT_MONEY >= B.CAN_REJECT_MONEY THEN
                       B.CAN_REJECT_MONEY
                      ELSE
                       B.REJECT_MONEY
                    END) REJECT_MONEY,
                SUM(B.RULE_TYPE) RULE_TYPE,
                B.TABLE_PAR
           FROM (SELECT T.HIS_ID,
                        T.DETAIL_ID,
                        T.CAN_REJECT_MONEY,
                        SUM(T.REJECT_MONEY) REJECT_MONEY,
                        SUM(TO_NUMBER(T.RULE_TYPE)) RULE_TYPE,
                        T.TABLE_PAR
                   FROM TMP_DEDUCTIONPLAN_BILLDETAIL T
                  GROUP BY T.HIS_ID,
                           T.DETAIL_ID,
                           T.CAN_REJECT_MONEY,
                           T.TABLE_PAR) B
          GROUP BY B.HIS_ID, B.TABLE_PAR) T2
  ON (T1.HISID = T2.HIS_ID AND T1.TABLE_PAR = T2.TABLE_PAR AND T1.TABLE_PAR >= :B2 AND T1.TABLE_PAR < :B1)
  WHEN MATCHED THEN
    UPDATE
       SET T1.BMI_NOPAY         = CASE
                                    WHEN T1.BMI_NOPAY + T2.REJECT_MONEY >= T1.BMI_CONVERED_AMOUNT THEN
                                     T1.BMI_CONVERED_AMOUNT
                                    ELSE
                                     T1.BMI_NOPAY + T2.REJECT_MONEY
                                  END,
           T1.RULETYPE          = CASE
                                    WHEN T2.RULE_TYPE > 0 THEN
                                     '1'
                                    ELSE
                                     T1.RULETYPE
                                  END,
           T1.AUDIT_RESULT_F    = '3',
           T1.AUDIT_RESULT_S    = '3',
           T1.ANDIT_MANU_STATUS = '3',
           T1.ANDIT_MANU_DATE   = SYSDATE

關于ORA-00600 [kokbcvb1] ,oracle 官方有篇文檔(文檔 ID 1182535.1)提到是Bug 9471103 引起的:

Merge Query Failed with Ora-00600: [Kokbcvb1] (文檔 ID 1182535.1)

APPLIES TO:                                                                               

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.2.0 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 29-Feb-2012*** 

SYMPTOMS                                                                                

A merge query failed with the error below:

ORA-600: internal error code, arguments: [kokbcvb1], [], [], [], [], []

For example :

merge into X USING (select a col1,'B' col2,3 col3,...

Even with Patch 8651671 and Patch 5308497 applied, the problem still reproduces. 

When "_optimizer_push_pred_cost_based"=false; the statement fails with

ORA-2070: database does not support antijoin

With "_subquery_pruning_enabled"=false; statement finishes with

0 rows merged.

CAUSE                                                                                  


This could possibly be due to Bug 9471103 MERGE QUERY FAILED WITH ORA-600 [KOKBCVB1]  which was closed as duplicate of unpublished Bug 9757249 ORA-600 [KOKBCVB1]

SOLUTION

1. The fix for Unpublished Bug 9757249 is included in 11.2.0.2 and above. Therefore, please upgrade to 11.2.0.2 or higher.
OR
2. Apply one off Patch 9757249 if available on My Oracle Support for your Oracle version and platform. If a patch is not available, please log a Service Request with Oracle Support to assist you.


從提取到的報錯信息,與bug 9471103吻合,處理方法是:應用補丁包patch 9757249或者升級數據庫版本到11.2.0.2以上

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

天水市| 西安市| 怀化市| 衢州市| 青田县| 光泽县| 泾川县| 卫辉市| 东乡族自治县| 五指山市| 乐平市| 广平县| 五河县| 体育| 宜春市| 疏附县| 巴彦淖尔市| 江门市| 镇沅| 嵊州市| 乐陵市| 青岛市| 苍山县| 博爱县| 扬州市| 伊金霍洛旗| 婺源县| 永吉县| 察哈| 岑溪市| 安庆市| 五大连池市| 芮城县| 南岸区| 闵行区| 吴堡县| 益阳市| 澎湖县| 平舆县| 玉门市| 青河县|