My Oracle Support Banner

GATHER_STATS_JOB fails with ORA-20000: index "SYS"."WRH$_SEG_STAT_PK" or Partition of Such Index is in Unusable State (Doc ID 1494640.1)

Last updated on DECEMBER 29, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


GATHER_STATS_JOB fails every day with next error:

ORA-20000: index "SYS"."WRH$_SEG_STAT_PK" or partition of such index is in unusable state

To rebuild the index change the state of the index but next day it fails again with same error.


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

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