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

Last updated on AUGUST 03, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 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 in 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 => 'FLNG_DSCLR_CRMNL1', method => '?', atomic_refresh => FALSE);

The procedure executes without error. Mview log on master table is cleared, but the value is not updated in the target.
If you perform a complete refresh, update values are correctly refreshed in target. Also, recreating materialized view seems to fix the issue.

Changes

 Upgrade to 12.1.0.2.

Cause

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