Ora Corruption 1
Ora Corruption 1
Ora Corruption 1
DETAILS
The goal of this article is to give a global picture about corruption errors and appropriate actions depending where the corruption is found.
In addition to the Support Notes below, you can get additional information here: My Oracle Support Comunity
In the common errors is possible to show only the notes related with an specific error or with an specific type of corruption by clicking the desired button.
ACTIONS
CORRUPTION EXPLANATION
TYPES OF CORRUPTIONS
How to handle Segment Corruptions (Table, Index, LOB, Long, IOT, Temporary This section refers to BLOCK CORRUPTION affecting
SEGMENT CORRUPTED
database segments.
Note 48808.1 : OERR: ORA-00227 corrupt block detected in controlfile: (block %s, # blocks %s) Master Note / Troubleshooting,
CONTROLFILE CORRUPTION
Diagnostic and Solution
UNDO CORRUPTION <Note 281429.1> : Basic Steps to be Followed While Solving ORA-00600 [4194]/[4193] Errors Without Using Unsupported parameter
Note 39283.1 : ORA-600 [4194] "Undo Record Number Mismatch While Adding Undo Record"
Note 431652.1 : How to Change the Existing Undo Tablespace to a New Undo Tablespace
It refers to inconsistencies between Data Dictionary tables. These tables are owned by the user SYS and are stored in the SYSTEM tablespace
to keep track of the users, tables, indexes, etc that are created in the database.
Note 136697.1 : "hcheck.sql" Script to Check for Known Problems in Oracle8i, Oracle9i, Oracle10g, Oracle 11g and Oracle 12c
Note 332672.1 : ORA-354 ORA-353 and ORA-312 on Redo Log Group members
REDO CORRUPTION
Note 1031381.6 : How to Dump Redo Log File Information.
It means that a column does not contain a valid value corresponding to its declaration; example: column was declared as date but the stored
date is invalid. If the block structure is ok; example, dbverify nor rman with the check logical option detect any issue then this is not a block
corruption but it is included here for completeness.
Table / Index inconsistencies is when an entry in the Table does not exist in the Index or vice versa. The common errors are ORA-8102, ORA-
600 [kdsgrp1], ORA-1499 by "analyze validate structure cascade".
TABLE/INDEX INCONSISTENCY
See section "Identify TABLE / INDEX Mismatch" in:
Note 836658.1 : Identify the Corruption Extension for Block Corruption, Table/Index Inconsistency, Data Dictionary and Lost Writes
HOW TO HANDLE SEGMENT CORRUPTIONS
** Contact Oracle Support ** -->> Generic notes about these objects: * None Public*
LONG
Note 214369.1 : Using The Export Utility To Check For Database Corruption
EXPORT
Note 472231.1 : How to identify all the Corrupted Objects in the Database with RMAN
RMAN
Note 1579579.1 : Master Note For Oracle Data Recovery Advisor (DRA)
DATA RECOVERY ADVISOR
GENERIC LINKS
Note 268895.1 : Oracle Database Server Patchset Information, Versions: 8.1.7 to 11.2.0
Note 1061295.1 : Patch Set Updates - One-off Patch Conflict Resolution
Note 161549.1 : Oracle Database, Networking and Grid Agent Patches for Microsoft Platforms
PATCHSET UPDATES (PSU) & CRITICAL PATCH
Note 756671.1 : Oracle Recommended Patches -- Oracle Database
UPDATES (CPU)
Note 742060.1 : Release Schedule of Current Database Releases
Note 161818.1 : Oracle Database (RDBMS) Releases Support Status Summary
COMMON ERRORS
ORA-1578 The data block indicated was corrupt. This was a physical corruption, also called a media corruption. The cause is
unknown but is most likely external to the database. If ORA-26040 is also signaled, the corruption is due to NOLOGGING or
ORA-1578
UNRECOVERABLE operations.
This error is raised when an operation refers to a ROWID in a table for which there is no such row.
The reference to a ROWID may be implicit from a WHERE CURRENT OF clause or directly from a WHERE ROWID=... clause.
ORA-1410
ORA-1410 indicates the ROWID is for a BLOCK that is not part of this table.
The object has been deleted by another user since the operation began; example: another session truncated or dropped the segment
ORA-8103 while the SQL statement was still active.
If the error is reproducible, following may be the reasons:
a.) The header block has an invalid block type.
b.) The data_object_id (seg/obj) stored in the block is different than the data_object_id stored in the segment header. See
dba_objects.data_object_id and compare it to the decimal value stored in the block (field seg/obj).
An ORA-08102 indicates that there is a mismatch between the key(s) stored in the index and the values stored in the table. What
typically happens is the index is built and at some future time, some type of corruption occurs, either in the table or index, to cause
ORA-8102
the mismatch.
An error occurred when validating an index or a table using the ANALYZE command.
ORA-1499 One or more entries does not point to the appropriate cross-reference.
Media recovery detected a lost write of a data block. A data block write to storage was lost during normal database operation on the
ORA-752 primary database.
Trying to access data in block that was loaded without redo generation using the NOLOGGING/UNRECOVERABLE option.
ORA-26040 This Error raises always together with ORA-1578
Oracle is trying to access a row using its ROWID, which has been obtained from an index.
A mismatch was found between the index rowid and the data block it is pointing to. The rowid points to a non-existent row in the
ORA-600 [12700] data block. The corruption can be in data and/or index blocks.
ORA-600 [12700] can also be reported due to a consistent read (CR) problem.
A mismatch has been detected between Redo records and rollback (Undo) records.
Oracle is validating the Undo record number relating to the change being applied against the maximum undo record number
ORA-600 [4194] recorded in the undo block.
This error is reported when the validation fails.
A mismatch has been detected between Redo records and Rollback (Undo) records.
ORA-600 [4193] Oracle is validating the Undo block sequence number in the undo block against the Redo block sequence number relating to the
change being applied.
This error is reported when this validation fails.
While backing out an undo record (i.e. at the time of rollback) Oracle found a transaction id mismatch indicating either a corruption
in the rollback segment or corruption in an object which the rollback segment is trying to apply undo records on.
ORA-600 [4137]
This would indicate a corrupted rollback segment.
Not enough free space was found when inserting a row into an index leaf block during the application of undo.
ORA-600 [6101]
Oracle is accessing a rollback segment header to review if a transaction has been committed.
However, the xid given is in the future of the transaction table.
ORA-600 [4097]
This could be due to a rollback segment corruption issue.
It means that Oracle has tried to find an undo segment number in the data dictionary and this undo segment number was not found.
ORA-600 [4000]
Oracle is undoing an index leaf key operation. If the key is not found, ORA-00600 [6006] is logged.
ORA-600 [6006] ORA-600[6006] is usually caused by a media corruption problem related to either a lost write to disk or a corruption on disk.
This assertion is raised because Oracle is trying to unlock the rows in a block, but receive an incorrect block type.
ORA-600 [4552] The second argument is the block type received.
Oracle is checking that the row slot that is about to be freed is not already on the free list.
ORA-600[6856] This internal error is raised when this check fails.
During a delete operation Oracle is deleting from a view via an instead-of trigger or an Index organized table and have exceeded a
ORA-600[13011] 5000 pass count
During the execution of an UPDATE statement, after several attempts (Arg [a] passcount) Oracle is unable to get a stable set of
ORA-600[13013] rows that conform to the WHERE clause.
ORA-600[13030]
Oracle is trying to generate the absolute file number given a tablespace number and relative file number and cannot find a matching
ORA-600[25012] file number or the file number is zero.
Looking up/checking a tablespace invalid tablespace ID and/or rdba found
ORA-600[25026]
An object block buffer in memory is checked and is found to have the wrong object id. This is most likely due to corruption.
ORA-600 [kcbz_check_objd_typ_3]
ORA-600 [kddummy_blkchk] is for 10g and ORA-600[kdblkcheckerror] for 11g onward. This error reports a Logical Block
ORA-600[kddummy_blkchk] ORA-600[kdblkcheckerror] Corruption
Orphan segment or invalid rdba in Index,Table,Partition etc. Example: An entry in sys.ind$ does not exist in sys.seg$
ORA-600[ktadrprc-1] Note 136697.1 : "hcheck.sql" Script to Check for Known Problems in Oracle8i, Oracle9i, Oracle10g, Oracle 11g and Oracle 12c
This exception occurs when there are problems obtaining the row cache information correctly from sys.seg$. In most cases there is
no information in sys.seg$.
ORA-600[ktsircinfo_num1]
Note 136697.1 : "hcheck.sql" Script to Check for Known Problems in Oracle8i, Oracle9i, Oracle10g, Oracle 11g and Oracle 12c
This error might be that a row was not found in an Index. Perform the check in section "Identify TABLE / INDEX Mismatch" in:
Note 836658.1 : Identify the Corruption Extension for Block Corruption, Table/Index Inconsistency, Data Dictionary and Lost
ORA-600[qertbfetchbyrowid]
Writes
This exception is raised when Oracle is performing a sanity check on the dependent SCN and fail.
ORA-600[ktbdchk1-bad dscn] The dependent scn is greater than the current scn.