DBMS_STATS Fails With ORA-1502 or ORA-20000; Subpartition Index Shows Usable
(Doc ID 759011.1)
Last updated on FEBRUARY 25, 2019
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
***Checked for relevance on 11-Jan-2012***
When gathering statistics on a subpartition, dbms_stats.gather_table_stats fails with ORA-1502 or ORA-20000 "index or partition of such index is in unusable state."
Here is the dbms_stats syntax that was used:
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