My Oracle Support Banner

Oracle 12c: Refresh MView With Out Of Place True causes loss of GRANTS (Doc ID 2010976.1)

Last updated on MARCH 05, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.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.

Symptoms

Mview Refresh with "out of place" option causes loss of grants on dependent objects. In out of place refresh, the main container table of Mview is not touched initially. Mview is refreshed by means of internal separate tables. When refresh is complete then container table is exchanged with the new tables. Hence the container table CREATED TIME and OBJECT_ID changes. This is the reason the grants are required to be given again.

Changes

 MVIEW refreshed with out_of_place = true Option

Cause

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
Symptoms
Changes
Cause
Solution
References


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