My Oracle Support Banner

ERROR WHEN Executing DBMS_STATS.GATHER_TABLE_STATS While UNUSABLE Index Partition Exit. (Doc ID 2493026.1)

Last updated on MARCH 28, 2019

Applies to:

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


Executing DBMS_STATS.GATHER_TABLE_STATS with a UNUSABLE index for a table setting partitioned index will result in the following error:

ORA-12801: error signaled in parallel query server Pxxx

ORA-01502: index 'XXX.PK_STAG_XXX_OTHER_SERVICES' or partition of such index is in unusable state

ORA-06512: at "SYS.DBMS_STATS",line XXXXX ORA-06512: at line 1


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.