Oracle 12c: Refresh MV With Out Of Place True causes loss of GRANTS
Last updated on JANUARY 18, 2017
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 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.
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