Quick method to identify table/index mismatch when analyze validate structure cascade takes significant time (Doc ID 1554054.1)

Last updated on MARCH 02, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.2 [Release 10.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 03-Jul-2015***

Goal

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 [13013], ORA-600 [6704], ORA-8102.

This Method can be applied for partitioned or non-partioned tables.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms