My Oracle Support Banner

DBMS_STATS.GATHER_FIXED_OBJECTS_STATS('ALL') Fails With ORA-20000 ORA-6512 (Doc ID 392364.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Standard Edition - Version 10.2.0.1 and later
Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.1.0.6 [Release 9.2 to 11.1]
Information in this document applies to any platform.
Oracle Server - Standard Edition - Version: 10.2.0.1
This problem can occur on any platform.

Symptoms

Executing the API Call

DBMS_STATS.GATHER_FIXED_OBJECTS_STATS('ALL')


as the SYS user fails with:

BEGIN DBMS_STATS.GATHER_FIXED_OBJECTS_STATS('ALL'); END;
*

ERROR at line 1:
ORA-20000: Insufficient privileges to analyze an object in Fixed Ob
ORA-06512: at "SYS.DBMS_STATS", line 13300
ORA-06512: at "SYS.DBMS_STATS", line 13614
ORA-06512: at "SYS.DBMS_STATS", line 14142
ORA-06512: at line 1

 

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.