My Oracle Support Banner

Database alert log shows ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_xx" (Doc ID 2564391.1)

Last updated on APRIL 17, 2023

Applies to:

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

Symptoms

While performing the post-de-install actions of a quarterly Release Update Revision (RUR) patch, the following is logged into the database (DB) alert log:

ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_21"
ORA-20001: Statistics Advisor: Invalid task name for the current user
ORA-06512: at "SYS.DBMS_STATS", line 47209
ORA-06512: at "SYS.DBMS_STATS_ADVISOR", line 882
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 20059
ORA-06512: at "SYS.DBMS_STATS_INTERNAL", line 22201
ORA-06512: at "SYS.DBMS_STATS", line 47199

 

A second example (during post-installation steps) is:

ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_1"
ORA-20001: Statistics Advisor: Invalid task name for the current user
ORA-6512: at "SYS.DBMS_STATS", line 47207
ORA-6512: at "SYS.DBMS_STATS_ADVISOR", line 882
ORA-6512: at "SYS.DBMS_STATS_INTERNAL", line 20059
ORA-6512: at "SYS.DBMS_STATS_INTERNAL", line 22201
ORA-6512: at "SYS.DBMS_STATS", line 47197

Changes

 Both 'pieces' of the patching event (the DB RUR patch and the associated DB Component OJVM patch) are being installed or rolled-back together.

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
Changes
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.