ORA-20000: Insufficient privileges when running DBMS_STATS.FLUSH_DATABASE_MONITORING_INFO as a Non-Sys user (Doc ID 2076702.1)

Last updated on DECEMBER 28, 2015

Applies to:

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

Symptoms

ORA-20000 seen when running the below procedure as a non-sys user.


SQL> connect lre02/test;
Connected.

SQL> exec DBMS_STATS.FLUSH_DATABASE_MONITORING_INFO
BEGIN DBMS_STATS.FLUSH_DATABASE_MONITORING_INFO; END;

*
ERROR at line 1:
ORA-20000: Insufficient privileges
ORA-06512: at "SYS.DBMS_STATS", line 4485
ORA-06512: at "SYS.DBMS_STATS", line 24597
ORA-06512: at line 1




Changes

 No changes done.

Cause

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