12c Database Upgrade fails at Post Upgrade step when gathering stats with Error:"ORA-01502"
(Doc ID 2199920.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Information in this document applies to any platform.
The following error is occurred during 12c upgrade ,when post upgrade gathers stats:
ORA-00604: error occurred at recursive SQL level 1
ORA-01502: index 'SYS.I_WRI$_OPTSTAT_IND_OBJ#_ST' or partition of such index is
in unusable state
ORA-06512: at "SYS.DBMS_STATS", line 17079
ORA-06512: at line 125
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