BSLN_MAINTAIN_STATS_JOB Job Failed With ORA-04063

前端之家收集整理的这篇文章主要介绍了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;

猜你在找的Oracle相关文章