GATHER_STATS_JOB fails with ORA-20000: index "SYS"."WRH$_SEG_STAT_PK" or Partition of Such Index is in Unusable State
Last updated on DECEMBER 06, 2016
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 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.
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