Create materialized view on 11G with 12C(read only)as master fails with ORA-04063 (Doc ID 2100468.1)

Last updated on JANUARY 26, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Trying to create materialaized view on 11g database with master table on 12c Read
Only Database (e.g. Standby Database) fails with ORA-4063

SQL> create materialized view mv_dual as select * from dual@test_link;
create materialized view mv_dual as select * from dual@test_link
*
ERROR at line 1:
ORA-4063: table "SYS.DUAL" has errors

SQL> create materialized view mv_dual as select * from dual@test_link where
rownum>0;
create materialized view mv_dual as select * from dual@test_link where
rownum>0
*
ERROR at line 1:
ORA-4063: table "SYS.DUAL" has errors

SQL> select open_mode from v$database@test_link;

OPEN_MODE
--------------------
READ ONLY



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