Mview is in Compilation_Error State After a Refresh or an Alter Statement
(Doc ID 1373290.1)
Last updated on FEBRUARY 02, 2022
Applies to:Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.
There is an mview defined with a Database link (dblink) pointing to a remote database where the master table is located.
The mview definition is:
MVIEW dictionary views output:
Select owner,mview_name, compile_state from dba_mviews;
OWNER MVIEW_NAME COMPILE_STATE
XXXX MV_XYZ COMPILATION_ERROR
The MVIEW is only marked as VALID when we create it. However, after a REFRESH or a COMPILE it is marked as COMPILE_STATE - COMPILATION_ERROR.
None, this is a new mview.
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