BSLN_MAINTAIN_STATS_JOB Job Failed With ORA-04063

简介:
Oracle 12c 统计信息自动收集JOB-(BSLN_MAINTAIN_STATS_JOB)

报错信息

ORA-04063: package body "DBSNMP.BSLN_INTERNAL" has errors

ORA-06508: PL/SQL: could not find program unit being called: "DBSNMP.BSLN_INTERNAL"

ORA-06512: at line 1

原因

Objects BSLN_INTERNAL is not in valid state

解决方法

sqlplus / as sysdba

SQL> alter package DBSNMP.BSLN_INTERNAL compile body ;

SQL> GRANT EXECUTE ON sys.dbms_job to DBSNMP;









本文转自 roidba 51CTO博客,原文链接:http://blog.51cto.com/roidba/2065545,如需转载请自行联系原作者
目录
相关文章
|
SQL
ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE‘ is invalid and failed re-validation处理
ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE‘ is invalid and failed re-validation处理
407 0
ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE‘ is invalid and failed re-validation处理
|
Oracle 关系型数据库 网络协议