My Oracle Support Banner

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 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

The following error is occurred during 12c upgrade ,when post upgrade gathers stats:

 

ERROR at line 1:
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

 

 

Cause

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
Symptoms
Cause
Solution

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