Ws:Permission Issues When Using Refresh Fast On Commit And Materialized View Log (Doc ID 418726.1)

Last updated on NOVEMBER 06, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

-- Problem Statement:
I'm attempting to create a MView to replicate data from one schema to another. I want to use fast
refresh so that only the changed rows are populated on commit (rather than full refresh). I
believe I'm having permission problems, but as you can see in the file I've uploaded
(MViewPertar.sql) I'm not using roles. If I grant DBA to user2 I can get the MView created, but
if I issue an insert to user1, I get a ORA-12008: error in materialized view refresh path -
ORA-00942: table or view does not exist. If I don't grant user2 DBA privs, then I'm getting
ORA-12018: following error encountered during code generation for "USER2"."SERVERS" -ORA-00942:
table or view does not exist.
Also insuffecent privilege error may occur.


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