My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

Applies to:

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


-- 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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.