Quick method to identify table/index mismatch when analyze validate structure cascade takes significant time
(Doc ID 1554054.1)
Last updated on JULY 23, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 188.8.131.52 [Release 10.2 to 12.1]
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.
***Checked for relevance on 03-Jul-2015***
This document describes a quick method to identify table/index inconsistency for a specific index in the table (a row in the table that does not exist in its index and vice versa) when ANALYZE TABLE VALIDATE STRUCTURE CASCADE takes considerable time which can be the case for large tables or when the table has a large number of indexes.
For such cross reference inconsistencies, ANALYZE reports error ORA-1499 and SQL statements may fail with different errors like ORA-600 [kdsgrp1], ORA-600 , ORA-600 , ORA-8102.
This Method can be applied for partitioned or non-partioned tables.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|Query to identify TABLE/INDEX inconsistency|
|Script to identify TABLE/INDEX inconsistency|