Oracle 12c: Refresh MView With Out Of Place True causes loss of GRANTS
Last updated on MAY 17, 2018
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
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.
MVIEW refreshed with
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