My Oracle Support Banner

ORA-20000: Insufficient Privileges On Dbms_stats (Doc ID 822331.1)

Last updated on MARCH 05, 2021

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 24-Sep-2014***

This problem can occur on any platform.


Automated Gather Stats Job fails with errors :

ORA-12012: error on auto execute of job 8951
ORA-20000: ORA-20000: Insufficient privileges
ORA-06512: at "SYS.DBMS_STATS", line 2175

Related queries to role-privileges returned :




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.