My Oracle Support Banner

Dbms_scheduler.purge_log Causes ORA-28031 (Doc ID 2668012.1)

Last updated on MAY 14, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

When dbms_scheduler.purge_log is executed, ORA-28031 can be caused unexpectedly.

Ex)

SQL> exec dbms_scheduler.purge_log();
BEGIN dbms_scheduler.purge_log(); END;

*
ERROR at line 1:
ORA-28031: maximum of 148 enabled roles exceeded
ORA-06512: at "SYS.DBMS_ISCHED", line 689
ORA-06512: at "SYS.DBMS_SCHEDULER", line 1429
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
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.