Gather Schema Statistics Completed ERR ORA-20000 Index in unusable state (Doc ID 373488.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Order Management - Version 11.5.10.0 to 11.5.10.3 [Release 11.5.10]
Oracle Assets - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
***Checked for relevance on 25-MAR-2013***

Symptoms

When attempting to run Gather Schema Statistics, the following error occurs.

FNDGSCST module: Gather Schema Statistics
...
In GATHER_SCHEMA_STATS , schema_name= ONT percent= 10 degree = 16 internal_flag= NOBACKUP
Error #1: ERROR: While GATHER_TABLE_STATS:
object_name=ONT.OE_ORDER_LINES_HISTORY
***ORA-20000: index "ONT"."OE_ORDER_LINES_HISTORY_N2" or partition of such index is in unusable state***

Cause

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