My Oracle Support Banner

How to Diagnose Components with NON VALID Status in DBA_REGISTRY after an Upgrade (Doc ID 753041.1)

Last updated on JUNE 21, 2023

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 18]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


To provide the steps and tools to diagnose components in the DBA_REGISTRY which
are showing status INVALID, LOADED, UPGRADED, NO SCRIPT, OPTION OFF, etc. after an upgrade and
provide possible solutions to resolve these status's.

If the status is shown as REMOVED then this means component is successfully removed.
In case of UPGRADE, the component was not upgraded because it was removed from the database.

For Example:


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
 1. Its important to check the current status of the dba_registry and current list of invalid objects immediately after an upgrade.
 2. Was the script $ORACLE_HOME/rdbms/admin/utlrp.sql run after the upgrade?
 3. In the case of a manual upgrade, were there errors reported in the spooled output of catupgrd.sql?
 4. Was the component(s) status VALID in source database prior to the upgrade?
 5. Was the component installed and linked/enabled at the binary level for the target upgrade release?
 6. Check component dependencies:
 7. Rerun upgrade script:

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