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

Last updated on JANUARY 18, 2017

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.2 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

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 hundreds of Community platforms