ORA-600 [kdsgrp1] / ORA-1555 / ORA-600 [ktbdchk1: bad ds

分类: oracle |
https://support.oracle.com/epmos/ui/images/quicklink_smlarrowdown_enabled.gif转到底部 | https://support.oracle.com/epmos/adf/images/t.gif[kdsgrp1] |
In this
Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.2 [Release 11.1 to 12.1]Information in this document applies to any platform. DESCRIPTIONInvalid Itl Commit SCN in INDEX blocks (object_type=INDEX)
causing dependent scn violations There is NO DATA CORRUPTION in the INDEX block. OCCURRENCEThis is commonly seen in a Data Guard Physical Standby
Database configuration after a Switchover or Failover but may also
occur in all kind of databases (with no dataguard
configuration). SYMPTOMSDifferent errors may occur related to dependent scn such as:
ORA-1555
ORA-600 [2663] ORA-600 [kdsgrp1] ORA-600 [ktbdchk1: bad dscn] DBVERIFY reports the next error when the fix
of
itl[] has higher commit scn(aaa.bbb) than block scn (xx.yy)
Page failed with check code 6056 WORKAROUNDInstall After installing For already existent invalid SCNs on disk, the SCN is repaired when the Index block is cleaned out (example: in a block update). While blocks are not touched, dbverify still reports the 6056 errors. Blocks are repaired when they are cleaned out. Trace file shows a message like:
Healing Corrupt DLC ITL objd:%d
objn:%d tsn:%d rdba: itl:%d
The above "Healing Corrupt.." tracing
can be avoided by installing the fix of Sometimes the fix may not repair the block for an already existent invalid SCN on disk; then repair this issue with: 1. Recreate the affected Index in the
Primary Database. Use
Additional Notes /
Summary
PATCHESInstall How to install the patch in a Dataguard configuration?In a Dataguard environment the patch must be applied to both
primary and standby databases.
HISTORY11-APR-2014 - Converted this note to an alert document 17-SEP-2014 - Clarified more that proactively
setting 01-DEC-2014 - Typo corrected 28-APR-2015 - Included RDBMS version 12.1.0.2 in the list of Products as also affected 02-JUN-2015 - For versions where the fix
of 22-JUN-2015 - Added workaround of "_smu_debug_mode" for ORA-600 [ktbgcl1_KTUCLOMINSCN_1] 08-OCT-2015 - Included specific versions instead of referencing 11.2.0.2 or later, clarified what versions are exposed to ORA-600 [ktbgcl1_KTUCLOMINSCN_1] and added section "Instructions for each version" 09-OCT-2015 - In Patches section:
changed 19-FEB-2016 - Removed the reference of "_smu_debug_mode" for
ORA-600 [ktbgcl1_KTUCLOMINSCN_1] as it may cause other
errors. 01-APR-2016 - Added reference to bug 22756771 which add the value 256 to _ktb_debug_flags to avoid tracing; then _ktb_debug_flags=264 (8+256) will be a workaround for this issue without adding tracing. 16-APR-2016 - The true root cause of this issue has been
identified in bug 22241601 which replaces bug 8895202 and bug
13513004. There is not need to set _ktb_debug_flags to enable this
fix as bug REFERENCESBUG:8895202NOTE:819533.1 BUG:13513004 BUG:22241601 |
https://support.oracle.com/epmos/ui/images/quicklink_smlarrowdown_enabled.gif转到底部 | https://support.oracle.com/epmos/adf/images/t.gif[kdsgrp1] |
In this
Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 8.1.5.0 to 12.1.0.2 [Release 8.1.5 to 12.1]Information in this document applies to any platform. ***Checked for relevance on 21-Oct-2013*** GOALThe purpose of this note is to provide the instructions to identify the corrupt Object reported by the error ORA-1578 or tools like RMAN / DBVERIFY SOLUTIONIdentify the Absolute File Number (AFN) and Block Number (BL)
SQL> select * from scott.dept_view;
select * from scott.dept_view * ERROR at line 1: ORA-01578: ORACLE data block corrupted (file # 11, block # 34) ORA-01110: data file 5: '/home/oracle/oradata/users.dbf'
Page 34 is marked corrupt
Corrupt block relative dba: 0x02c00022 (file 11, block 34) Bad check value found during dbv: Data in bad block:
DBV-200: Block, dba
select dbms_utility.data_block_address_file(&&rdba)
RFN,
from dual;
SQL> select dbms_utility.data_block_address_file(&&rdba)
RFN,
Enter value for rdba: RFN ---------- ---------- 11
select file_id AFN, relative_fno, tablespace_name
from dba_data_files where relative_fno=&RFN;
SQL> select file_id AFN, relative_fno, tablespace_name
Enter value for AFN ---------- ------------ ------------------------------ 5
Identify the Corrupt ObjectOnce that the AFN is identified, run the next query to identify the corrupt Object:
select *
from dba_extents where file_id = &AFN and &BL between block_id AND block_id + blocks - 1;
SQL> select *
2 from dba_extents 3 where file_id = &AFN 4 and &BL between block_id AND block_id + blocks - 1; Enter value for afn: 5 Enter value for bl: 34 OWNER ----- SCOTT
select owner, segment_name, segment_type,
partition_name
from where
If the block belongs to a free extent it should appear in DBA_FREE_SPACE:
select *
from where file_id = &AFN Note that in Oracle 10g and above when an ORA-1578 is produced,
the alert log is also updated with the information of the corrupt
object.
Corrupt Block Found
TSN = 5, TSNAME = USERS RFN = 11, BLK = 34, RDBA = 46137378 OBJN = 46107, OBJD = 36440, OBJECT = DEPT, SUBOBJECT = SEGMENT OWNER = SCOTT, SEGMENT TYPE = Table Segment Fixing CorruptionsOnce that the If getting corruption error ORA-1578 follow the instructions
in To fix other corruptions follow REFERENCESNOTE:472231.1NOTE:28814.1 NOTE:836658.1 NOTE:1578.1 |
喜欢
0
赠金笔