How To Avoid Materialized View Problem Against Needed Privileges (Doc ID 1586366.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.
Reviewed 10-Jun-2014.

Goal

When Materialized Views are reported as invalid in (USER/ALL/DBA)_OBJECTS and (USER/ALL/DBA)_MVIEWS reports both the compile_state
and the staleness as 'COMPILATION_ERROR'.
Moreover, This problem cannot be solved by compiling the MView nor by refreshing the snapshot.
In this scenario, likely some granting privileges issues are causing that.
 

Solution

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