Detailed Steps for Troubleshooting ORA-00600 [kdsgrp1] (文檔 ID 1492150.1)

Detailed Steps for Troubleshooting ORA-00600 [kdsgrp1] (文檔 ID 1492150.1)?編輯轉到底部


In this Document

Purpose
Troubleshooting Steps
References

APPLIES TO:

Oracle Database - Enterprise Edition
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

PURPOSE

This document provides detailed steps for troubleshooting the ORA-00600 [kdsgrp1] internal error.It contains information from other documents including the documents shown in the references section.

Instructions for the Reader

First, please review Document?1332252.1?- Causes and Solutions for ora-00600 [kdsgrp1]. It is an excellent document which explains the error and possible causes/solutions for this particular error.
?

TROUBLESHOOTING STEPS

The following troubleshooting steps can be used to analyze the ORA-600 [kdsgrp1] error:

  1. Identify the object causing the ORA-600 [kdsgrp1] to be raised

    For example, the trace file with ORA-00600 [kdsgrp1] contains the following information::

    * kdsgrp1-1: *************************************************
    ??????????? row 0x0744877d.52 continuation at
    ??????????? 0x0744877d.52 file# 29 block# 296829 slot 82 not found


    So in this case the ORA-600 is raised in file # 29 and block # 296829.

    The following query can be used to retrieve the object information:

    SELECT segment_type, owner, segment_name
    FROM dba_extents
    WHERE file_id = <file number>
    AND <block number> BETWEEN block_id and block_id+blocks-1;


    So in the given example, issue:

    CONNECT / AS SYSDBA

    SELECT segment_type, owner, segment_name
    FROM dba_extents
    WHERE file_id = 29
    AND 296829 BETWEEN block_id AND block_id+blocks-1;

  2. Analyze the object identified in step 1 and check for table/index mismatches and/or corruptions

    The SQL statements that can be used for this are:

    ANALYZE TABLE <table name> VALIDATE STRUCTURE CASCADE;


    and:

    ANALYZE TABLE <table name> VALIDATE STRUCTURE CASCADE ONLINE;

    ?

    NOTE:
    Analyze with the ONLINE option enables the Oracle Database to run the validation while DML operations are ongoing within the object. The database reduces the amount of validation performed to allow for concurrency. With the OFFLINE option (which is the default setting) this setting prevents INSERT, UPDATE, and DELETE statements from concurrently accessing the object during validation but allows queries being run against the object.

  3. If the above ANALYZE command fails, then check the table and indexes without using 'cascade'
    option as shown below:

    ?
    • For tables use:

      ANALYZE TABLE <table name> VALIDATE STRUCTURE;


      or:

      ANALYZE TABLE <table name> VALIDATE STRUCTURE ONLINE;

    • For indexes use:

      ANALYZE INDEX <table name> VALIDATE STRUCTURE;


      or:

      ANALYZE INDEX <table name> VALIDATE STRUCTURE ONLINE;

  4. If ANALYZE fails and the object is corrupt, then:
    1. For non-SYS owned objects, drop and recreate the object when possible:
      1. For an user index corruption, drop and recreate the index.
      2. For?Advanced Queue objects?we cannot simply drop a queue index owned by the SYSTEM user.
        You can recreate the offending queue tables. If you need the messages that are in the queue then you need to take backup of the data. Re-enqueue the messages back to the queue after a recreate of the queue table
        or:
        Reorganize/move the queue objects:
        • For Oracle versions 10.2.0.5 and above, see Document?1410195.1?- How to perform an Online Move of Advanced Queueing Tables using DBMS_REDEFINITION
        • For Oracle version below 10.2.0.5.0, see Document?304522.1?- How to Move Queue Tables without using the Export or Datapump Utilities
      3. Analyze fails with error ORA-01499

        ANALYZE TABLE <table name> VALIDATE STRUCTURE CASCADE ONLINE;
        ERROR at line 1:
        ORA-01499: table/index cross reference failure - see trace file


        and the trace file generated shows:

        tsn: 8? rdba: 0x0443e30e? seg/obj: 0xfd6b

        ?
        • To identify the offending object based on tsn and rdba:
          See Document?1499.1?- OERR: ORA-1499 table/Index Cross Reference Failure - see trace file
          tsn: Tablespace Number where the INDEX is stored.
          rdba: Relative data block address of the INDEX segment header.
          ?

          CONNECT / AS SYSDBA
          SELECT owner, segment_name, segment_type, partition_name
          FROM DBA_SEGMENTS
          WHERE header_file = (SELECT file#
          ?????????????????????FROM v$datafile
          ?????????????????????WHERE rfile# = dbms_utility.data_block_address_file(to_number('0443e30e','XXXXXXXX'))
          ?????????????????????AND ts#= 8)
          AND header_block = dbms_utility.data_block_address_block(to_number('0443e30e','XXXXXXXX'));

        • To identify the offending object based on seg/obj:
          Note the value of the seg/obj field (i.e. 0xfd6b) and translate this to a decimal number (in this case: 64875).
          Look up the object name in the data dictionary:

          CONNECT / AS SYSDBA
          SELECT owner, object_name, object_type
          FROM dba_objects
          WHERE object_id = 64875;

        Check if the issue is solved after drop/create the index.
        1. Analyze fails with error ORA-1499 /ORA-8102 - Index inconsistency
          For INSERT statements on?INTERVAL partitioned tables, see:
          Document?10633840.8?- Bug 10633840 - ORA-1502 on insert statement on INTERVAL partitioned table. ORA-8102 / ORA-1499 Index inconsistency
          and:
          Bug:10633840?- ORA-1502 WHILE RUNNING INSERT STATEMENT ON PARTITIONED TABLE

          This issue is fixed in 11.2.0.2 PSU 7.
        2. Analyze fails with error OERI[kdsgrp1]/ORA-1499 - Corrupt index
          After?PDML executed in serial, see:
          Document?9469117.8?- Bug 9469117 - Corrupt index after PDML executed in serial. Wrong results. OERI[kdsgrp1]/ORA-1499 by analyze
          and:
          Bug:9469117?- INDEX WITH DELETED KEYS - WRONG RESULTS. OERI [KDSGRP1] / ORA-1499 BY ANALYZE

          This issue is fixed in the 11.2.0.2 patchset.
        3. Analyze fails with ORA-1499, Corruption with?self-referenced row in a MSSM (Manual Segment Space Management) tablespace. Wrong results/ORA-600 [6749]/ORA-8102:
          See:
          Document?7705591.8?- Bug 7705591 - Corruption with self-referenced row in MSSM tablespace. Wrong Results / OERI[6749] / ORA-8102
          and:
          Bug:7705591?- CORRUPTED NRID IN A CHAINED ROW POINTING TO ITSELF. ORA-600 [6749] AND ORA-8102

          This issue is fixed in the 11.2.0.2 patchset.

          You can verify the use of MSSM in the SEGMENT_SPACE_MANAGEMENT column of DBA_TABLESPACES.
        4. Analyze fails with errors ORA-1499, ORA-8102, ORA-600 [kdsgrp1] - Bitmap index/table mismatch,?when querying a table with bitmap indexes:
          See:
          Document?13146182.8?- Bug 13146182 - ORA-1499 ORA-8102 ORA-600 [kdsgrp1] Bitmap Index / Table mismatch
          and:
          Bug:13146182?- ORA-600 [KDSGRP1] ERROR WHEN QUERYING A TABLE WITH BITMAP INDEXES

          This issue is fixed in the 12.1.
    2. If a SYS object, please perform a database recovery or log a service request.

      You can use RMAN's BACKUP CHECK LOGICAL VALIDATE DATABASE command to check for any logical or physical corruption. It does not actually make a backup, but will do the block checking.

      For details, see Document?472231.1?How to identify all the Corrupted Objects in the Database with RMAN

  5. If analyze is successful and reports no corruption:
    ?
    1. If running?Oracle release 11.1.0.7.0 or below:

      Apply the fix for bug 8720802, fixed in 11.2.0.2.
      For details, see:
      Document?8720802.8?- Bug 8720802 - Add check for row piece pointing to itself (db_block_checking,dbv,rman,analyze)
      and:
      unpublished Bug:8720802 - ADD CHECK FOR CONTINUED ROW PIECE POINTING TO ITSELF

      Without the fix of bug 8720802 tools like DBVERIFY, RMAN, and ANALYZE don't detect this logical corruption.

      An example is the above mentioned bug 7705591.
      ?
      1. If table and index analysis doesn't report errors and?the table doesn't use the LONG column datatype?then see:
        Document?8771916.8?- Bug 8771916 - OERI [kdsgrp1] during CR read
        and:
        unpublished Bug:8771916 - ORA-00600 [KDSGRP1] WHEN DOING AN UPDATE

        This issue is fixed in the 11.2.0.2 patchset.

        Workaround is to set the "_row_cr"=FALSE instance parameter.
        ?

        Note:
        Disabling rowCR (which is an optimization to reduce consistent-read rollbacks during queries) by setting "_row_cr"=FALSE in the instance could cause performance degradation of queries - the statistics "RowCR hits"/"RowCR attempts" can help show if this workaround may be detrimental to performance. So setting this parameter must be verified in a test environment before applying it in production.

      2. If table and index analysis doesn't report errors and?the table uses a LONG column datatype?then see:
        Document?735435.1?- ORA-600 [kdsgrp1] Generated When Table Contains a LONG
        and:
        Bug:6445948?- ORA-600 [KDSGRP1] HAPPENING => TABLE AND INDEX ANALYZES FINE

        This issue is fixed in 11.2.0.1.

        Workaround:
        • Set the "_row_cr"=FALSE instance parameter.
        • Drop and recreate the index.
          ?

        Note:
        Disabling rowCR (which is an optimization to reduce consistent-read rollbacks during queries) by setting "_row_cr"=FALSE in the instance could cause performance degradation of queries - the statistics "RowCR hits"/"RowCR attempts" can help show if this workaround may be detrimental to performance. So setting this parameter must be verified in a test environment before applying it in production.

    2. If your?running Oracle release 11.2.0.3.0 in a RAC (Real Application Clusters)?then test the problem by disabling reader bypass, by setting "_gc_bypass_readers"=FALSE on all nodes. This won't have a dramatic performance impact.

      Monitor the system, and if problem does not occur after setting the parameter then apply?Patch:13807411?(fixed in 12.1) and remove the parameter setting.

      For more information, see:
      Document?13807411.8?- Bug 13807411 - ORA-600 [kcbchg1_38] using XA in RAC
      and:
      unpublished Bug:13807411 - ORA-00600[KCBCHG1_38] DURING CURRENT CLEANOUT
      ?
    3. Otherwise, check if there are any chained rows in the table. If these exist then we may have an undetected corruption and the issue should reproduce whenever the offending SQL statement or a Full Table Scan is run or the entire table is being exported.

      If there is a permanent invalid chained row, the row producing the ORA-600 [kdsgrp1] can be skipped by setting the 10231 event:

      event="10231 trace name context forever, level 10"


      This should be removed from the instance parameters immediately after the table reporting the ORA-600 [kdsgrp1] has been salvaged.

      Alternatively this event can be set at the session level, as in:

      ALTER SESSION SET EVENTS '10231 trace name context forever, level 10';


      For more information, see:
      Document?21205.1?- EVENT: 10231 "skip corrupted blocks on _table_scans_"
      Document?33405.1- Extracting Data from a Corrupt Table using DBMS_REPAIR or Event 10231

  6. If the issue is only occurring in memory you can try to immediately resolve the issue by flushing the buffer cache but remember to consider the performance impact on production systems:

    ALTER SYSTEM FLUSH BUFFER_CACHE;

  7. When feasible apply lateset patchset or one-off patches for relevant known bugs. Please see Document?285586.1- ORA-600 [kdsgrp1] for a list of known issues for your Oracle version.

  8. If further assistance is needed, file a new Service Request with Oracle Global Software Support.

REFERENCES

NOTE:21205.1?- EVENT: 10231 "skip corrupted blocks on _table_scans_"
NOTE:33405.1?- Extracting Data from a Corrupt Table using DBMS_REPAIR or Event 10231
NOTE:1332252.1?- Causes and Solutions for ora-600 [kdsgrp1]
BUG:7705591?- CORRUPTED NRID IN A CHAINED ROW POINTING TO ITSELF. ORA-600 [6749] AND ORA-8102
NOTE:8720802.8?- Bug 8720802 - Add check for row piece pointing to itself (db_block_checking,dbv,rman,analyze)
BUG:10633840?- ORA-1502 WHILE RUNNING INSERT STATEMENT ON PARTITIONED TABLE


NOTE:13146182.8?- Bug 13146182 - ORA-1499 ORA-8102 ORA-600 [kdsgrp1] Bitmap Index / Table mismatch
BUG:13146182?- ORA-600 [KDSGRP1] ERROR WHEN QUERYING A TABLE WITH BITMAP INDEXES
BUG:9469117?- INDEX WITH DELETED KEYS - WRONG RESULTS. OERI [KDSGRP1] / ORA-1499 BY ANALYZE

NOTE:472231.1?- How to identify all the Corrupted Objects in the Database with RMAN
NOTE:285586.1?- ORA-600 [kdsgrp1]
NOTE:1499.1?- OERR: ORA-1499 table/Index Cross Reference Failure - see trace file
NOTE:10633840.8?- Bug 10633840 - ORA-1502 on insert statement on INTERVAL partitioned table. ORA-8102 / ORA-1499 Index inconsistency
NOTE:9469117.8?- Bug 9469117 - Corrupt index after PDML executed in serial. Wrong results. OERI[kdsgrp1]/ORA-1499 by analyze
NOTE:403747.1?- FAQ: Physical Corruption
NOTE:7705591.8?- Bug 7705591 - Corruption with self-referenced row in MSSM tablespace. Wrong Results / OERI[6749] / ORA-8102

此文檔是否有幫助?

文檔詳細信息

通過電子郵件發送此文檔的鏈接

在新窗口中打開文檔

可打印頁

類型:
狀態:
上次主更新:
上次更新:
TROUBLESHOOTING
PUBLISHED
2019-3-1
2023-6-30

相關產品

Oracle Database Cloud Exadata Service

Oracle Database Exadata Express Cloud Service

Oracle Database Cloud Service

Oracle Database - Enterprise Edition

Oracle Database Cloud Schema Service

顯示更多

信息中心

加載信息中心

文檔引用

加載信息中心

最近查看

Oracle Reliable Datagram Sockets (RDS) and InfiniBand (IB) Support (For Linux x86 and x86-64 Platforms) [761804.1]

Oracle Clusterware and RAC Support for RDS Over Infiniband [751343.1]

HOWTO: Remove/Disable HAIP on Exadata [2524069.1]

Grid infrastructure (GI):HAIP on RDS is not supported [2328941.1]

HOWTO: Remove/Disable HAIP on ODA [2612963.1]

顯示更多

未找到您要查找的產品?

在社區中提問...

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/diannao/36883.shtml
繁體地址,請注明出處:http://hk.pswp.cn/diannao/36883.shtml
英文地址,請注明出處:http://en.pswp.cn/diannao/36883.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Android 生成 AAR 包

當我們需要在 Android 項目中引用第三方庫或模塊時&#xff0c;常常會使用 AAR&#xff08;Android Archive&#xff09;包。AAR 包是一種包含了編譯后代碼、資源文件和清單文件等的二進制文件。 步驟 1&#xff1a;創建一個 Android Library 項目 在 Android Studio 中&#…

Ngnix內存池——高并發實現高效內存管理

目錄 一、高并發下傳統方式的弊端 1、常用的內存操作函數 2、弊端一 3、弊端二 4、弊端三 5、弊端四 二、弊端解決之道 1、內存管理維度分析 2、內存管理組件選型 三、高并發內存管理最佳實踐 1、內存池技術 2、內存池如何解決弊端 3、高并發內存池如何實現 四、…

FC-Planner: 一個基于骨架引導的快速覆蓋復雜3D場景的規劃框架方案實現與難點講解

FC-Planner方案實現細節與難點講解 1. 骨架提取 骨架提取是FC-Planner的核心模塊之一,其目的是從輸入的點云數據中提取出場景的骨架結構。這一步的關鍵是如何準確高效地計算每個點的ROSA點。 1.1 ROSA點計算 ROSA點的計算涉及到兩個優化問題: ROSA點方向 v p v_p vp?的優化…

《數字圖像處理與機器視覺》案例二(基于邊緣檢測和數學形態學焊縫圖像處理)

一、前言 焊縫是評價焊接質量的重要標志&#xff0c;人工檢測方法存在檢測標準不統一&#xff0c;檢測精度低&#xff0c;焊縫視覺檢測技術作為一種重要的質量檢測方法&#xff0c;正逐漸在各行各業中嶄露頭角。把焊縫準確的從焊接工件中準確分割出來是焊縫評價的關鍵一步&…

linux上git的使用

目錄 1.測試是否安裝有git 2.下載項目到本地 3.三板斧 1.將代碼放在創建的目錄中 2.提交改動到本地 3.提交代碼到遠端 4.注意點 以及補充內容 1.測試是否安裝有git 如果輸入git --help 會顯示下面一大串那么就是已經安裝&#xff0c;否則需要自行手動安裝 yum install g…

聚焦從業人員疏散逃生避險意識能力提升,推動生產經營單位每年至少組織開展(疏散逃生演練,讓全體從業人員熟知逃生通道、安全出口及應急處置要求,形成常態化機制。

聚焦從業人員疏散逃生避險意識能力提升&#xff0c;推動生產經營單位每年至少組織開展(疏散逃生演練&#xff0c;讓全體從業人員熟知逃生通道、安全出口及應急處置要求&#xff0c;形成常態化機制。完整試題答案查看 A.三次B.兩次C.一次 綜合運用“四不兩直”、明察暗訪、 ()、…

潔盟超聲波清洗機怎么樣?橫向測評希亦、潔盟、蘇泊爾超聲波清洗機誰是實力派

生活中大多數人戴眼鏡&#xff0c;但是很多人都不注意眼鏡的保養&#xff0c;導致鏡片越來越模糊&#xff0c;從而引發多邊的狀況發生&#xff0c;比如長久戴模糊不清的眼鏡&#xff0c;視力會受到影響隨之下降。甚至是眼鏡長期不清洗&#xff0c;上面的灰塵、細菌會影響眼部健…

彩虹PLM系統在航空航天業的應用與實踐

彩虹PLM系統在航空航天業的應用與實踐 彩虹PLM系統作為航空航天業的卓越解決方案&#xff0c;已經在眾多企業中得到了廣泛的應用和實踐。該系統通過其獨特的功能和優勢&#xff0c;為航空航天企業帶來了顯著的管理效益和市場競爭力提升。 彩虹PLM系統 在應用方面&#xff0c;彩…

這樣解釋 TCP_IP 真的很好理解

想象一下&#xff0c;你住在一個大城市里&#xff0c;這個城市就是你的計算機網絡世界。在這個城市中&#xff0c;有許多房子&#xff08;代表不同的計算機&#xff09;&#xff0c;這些房子之間由各種道路和交通設施連接起來&#xff08;代表網絡的物理連接&#xff09;。 現在…

1.2 離散LTI系統的時域分析

目錄 離散系統的定義 離散LTI系統的時域描述h[k] 離散系統的分類 線性與非線性系統 時變與非時變系統 因果與非因果系統 穩定與不穩定系統 滑動平均系統 LTI——Linear and Time-invariant System 線性時不變系統 離散系統的定義 離散LTI系統的時域描述h[k] 離…

【java12】java12新特性之File的mismatch方法

Java12引入了一個新的方法 mismatch&#xff0c;它屬于java.nio.file.Files類。此方法用于比較兩個文件的內容&#xff0c;并返回第一個不匹配字節的位置。如果兩個文件完全相同&#xff0c;則返回-1。 Files.mismatch 方法聲明 public static long mismatch(Path path1, Pat…

【并發編程】2-Synchronized

基本概念 線程安全問題三個要素&#xff1a;多線程、共享資源、非原子性操作&#xff1b;產生的根本原因&#xff1a;多條線程同時對一個共享資源進行非原子性操作&#xff1b;Synchronized解決線程安全問題的方式&#xff1a;通過互斥鎖將多線程的并行執行變為單線程串行執行…

昇思25天學習打卡營第4天|數據集Dataset

數據集 Dataset 介紹 之前說過&#xff0c;MindSpore是基于Pipeline&#xff0c;通過Dataset和Transformer進行數據處理。Dataset在其中是用來加載原始數據的。mindSpore提供了數據集加載接口&#xff0c;可以加載文本、圖像、音頻等&#xff0c;同時也可以自定義加載接口。此…

【UE開發】游戲庫存UI系統Demo

1.項目介紹 1.描述&#xff1a;一種用于存儲記錄玩家物品的游戲內可視化操作系統。 2.演示&#xff1a;https://www.bilibili.com/video/BV1f53neVEfW/?vd_source50dea901fd12253f417c48b937975b0d 3.大綱&#xff1a; 4.樣式&#xff1a; 2.W_Inventory_Main_01&#xff08;…

CORE Mobility Errorr的調試

在運行CORE tutorial 3中的mobility示例時&#xff0c;出現如下錯誤&#xff1a; 當看到這個問題的時候&#xff0c;并沒有仔細去分析日志和現象&#xff0c;在core-daemon的進程打印界面只看了一下最后的出錯堆棧&#xff1a; 2024-06-27 10:43:48,614 - ERROR - _server:_ca…

MySQL8 新特性——公用表表達式用法 with t1 as (select * from user)

MySQL8 新特性——公用表表達式用法_mysql ctes-CSDN博客 1.普通公用表表達式 MySQL8 新特性——公用表表達式用法 在MySQL 8.0及更高版本中&#xff0c;引入了公用表表達式&#xff08;Common Table Expressions&#xff0c;CTEs&#xff09;&#xff0c;它是一種方便且可重…

docker部署vue項目

1.下載docker desktop軟件 Docker Desktop啟動的時候&#xff0c;有可能彈框提示"WSL2 installations is incomplete"&#xff0c;這是您的系統中沒有安裝WSL2內核的原因&#xff0c;打開【https://aka.ms/wsl2kernel ,在打開的頁面中有一個Linux內核更新包"鏈…

【python011】經緯度點位可視化html生成(有效方案)

1.熟悉、梳理、總結項目研發實戰中的Python開發日常使用中的問題、知識點等&#xff0c;如獲取省市等邊界區域經緯度進行可視化&#xff0c;從而輔助判斷、決策。 2.歡迎點贊、關注、批評、指正&#xff0c;互三走起來&#xff0c;小手動起來&#xff01; 3.歡迎點贊、關注、批…

Android InputReader 輸入事件處理流程

Android系統輸入事件產生的底層主要是輸入子系統&#xff0c;Android 中的輸入設備有很多&#xff0c;例如屏幕&#xff0c;鼠標&#xff0c;鍵盤等都是輸入設備&#xff0c;對于應用開發者&#xff0c;接觸最多的也就是屏幕了。 1. 當輸入設備可用時&#xff0c;Linux會在 /de…

tensorRT的安裝

在這個網址找到適合自己的版本&#xff0c;尤其是找到合適的cuda版本&#xff1a; https://pypi.nvidia.com/ 然后直接pip 安裝&#xff1a; 比如&#xff1a; pip install https://pypi.nvidia.com/tensorrt-cu11/tensorrt-cu11-10.1.0.tar.gz 也可以&#xff1a; wget http…