My Oracle Support Banner

Materialized View Fast Refresh Did Not Update Records on Target (Doc ID 2134647.1)

Last updated on MAY 29, 2019

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

After upgrade from 11.2.0.3 to 12.1.0.2, you may see Materialized View fast refresh not updating records on target.

Scenario:

You have read only materialized view in source with time-stamp based mview log.

When there is an update on base table, the mview log is correctly populated.
sys.slog$ table has correct mview_id listed.

In remote database, you issue following command for refresh:
exec DBMS_MVIEW.REFRESH (list => 'MVIEW1', method => '?', atomic_refresh => FALSE);

The procedure executes without error. The Mview log on the master table is cleared, but the values on the target database are not updated.

Performing a complete refresh  updates the target correctly. Also, recreating materialized view seems to fix the issue.

Changes

 Upgrade to 12.1.0.2.

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.