My Oracle Support Banner

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

Last updated on FEBRUARY 14, 2022

Applies to:

Oracle Database - Enterprise Edition - Version to [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.


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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.