My Oracle Support Banner

Error ORA-4063 While Performing Full Database Export (Doc ID 114739.1)

Last updated on JUNE 14, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Microsoft Windows (32-bit)


You are trying to perform a full database export and it fails with the following errors:

About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
EXP-8: ORACLE error 4068 encountered
ORA-4068: existing state of packages has been discarded
ORA-4063: package body "SYS.DBMS_AQ_SYS_EXP_INTERNAL" has errors
ORA-6508: PL/SQL: could not find program unit being called
ORA-6512: at "SYS.DBMS_AQ_EXP_QUEUES", line 141
ORA-6512: at line 1
EXP-83: The previous problem occurred when calling
. exporting resource costs

You are able to run a user or table level export.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.