My Oracle Support Banner

What is Best Way to Add a Field To an Mview Log? (Doc ID 1326121.1)

Last updated on MARCH 10, 2020

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.


You need to add a column to an MVIEW log in order to add a new fast refreshable mview to the database. Currently there is a refresh job refreshing every minute in which some of the mviews in that job utilize the mview log that will be altered.

You have these questions:
  1. Is it recommended to stop any refreshes of any mviews utilizing that mview log while doing this?
  2. If the refresh job is stopped during this process, do the existing mviews need to be complete refreshed after the mview log is altered?


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.