Create Materialized View Results in Ora-942 (Doc ID 364632.1)

Last updated on MAY 12, 2017

Applies to:

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

Symptoms

Creating a Materialized view based on a view existing on the remote database results in the following errors:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SNAPSHOT_UTL", line 1543
ORA-02063: preceding 2 lines from remote db

Significantly, the database link on the local side connects to user_c schema on the remote database.

On the remote database the configuration is :
user_a - table owner and Materialized View log owner;
user_b - has view on a table in user_a's schema : view1
user_c - has select privs on view in user_b's schema.

Changes

This issue occurs when the remote database is 10.2.
The problem did not occur with 9.2.X

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