My Oracle Support Banner

Materialized View Status Shown As INVALID After 11.2.0.2 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 11.2.0.2 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.

Symptoms

After upgrading a database from Oracle 10g to 11.2.0.2, 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.

Cause

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
Symptoms
Cause
Solution
References


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