ORA-20001 and ORA-00932 DB Auto Task Failure After Upgrade to 12.2.0.1
(Doc ID 2453673.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
- DB Auto Tasks failure in 12.2 database with the below error messages :
ORA-12012: error on auto execute of job "SYS"."ORA$AT_OS_OPT_SY_56944"
ORA-20001: Statistics Advisor: Invalid task name for the current user
ORA-06512: at "SYS.DBMS_STATS", line 47207
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 47197 - During upgrade, setup_repository failed with ORA-00932 which caused jobs not be created properly:
SQL> execute dbms_advisor.setup_repository;
BEGIN dbms_advisor.setup_repository; END;*
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected - got UDT
ORA-06512: at "SYS.DBMS_ADVISOR", line 1935
ORA-06512: at "SYS.PRVT_ADVISOR", line 2611
ORA-06512: at "SYS.DBMS_ADVISOR", line 1257
Changes
Upgrade to 12.2.0.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 |
Changes |
Cause |
Solution |
References |