My Oracle Support Banner

Materialized View Status Shown As INVALID After Upgrade (Doc ID 1468625.1)

Last updated on FEBRUARY 22, 2024

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


After upgrading a database from Oracle 10g to, all Materialized Views (MViews) show a status of COMPILATION_ERROR (in the DBA_MVIEWS view).
The status shown in the DBA_OBJECTS view is INVALID.

However, the Materialized View itself is fine and the data can be refreshed without issues.

Re-creating the Materialized View resets the status to VALID, but this is a very time-consuming operation.


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

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