ORA-04063 Package Body "SYS.DBMS_STATS" Has Errors
(Doc ID 604457.1)
Last updated on AUGUST 11, 2020
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
***Checked for relevance on 04-Feb-2016***
-- Problem Statement:
A job that updates stats is failing with:
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_STATS" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
The package body shows invalid in dba_objects:
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