Ws:Permission Issues When Using Refresh Fast On Commit And Materialized View Log
(Doc ID 418726.1)
Last updated on OCTOBER 04, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
-- Problem Statement:
Attempting to create a MView to replicate data from one schema to another. Looking to use fast
refresh so that only the changed rows are populated on commit (rather than full refresh).IT looks like there are permission problems. But,not using roles.
By granting DBA to <Testschema2>,able to create MView, But when issue an insert to <Testschema1>, getting ORA-12008: error in materialized view refresh path -
ORA-00942: table or view does not exist. If don't grant <Testschema2> DBA privs, then getting
ORA-12018: following error encountered during code generation for "<Testschema2>"."<TEST_TABLE>" -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