ORA-12057 During Fast Refresh of Aggregate Materialized View (Doc ID 1399651.1)

Last updated on JANUARY 24, 2012

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 11.2.0.3 - Release: 9.2 to 11.2
Information in this document applies to any platform.

Symptoms

You receive an ORA-12057: "materialized view <mview_name> is INVALID and must complete refresh" when fast refreshing an aggregate materialized view. 

This issue can manifest itself in various ways. In one case, a single mview using two mview logs (i.e. two master tables), fast refreshed if one of the master tables was updated, but generated an ORA-12057 if both master tables were updated. In that particular case, one of the mview logs did not contain the SEQUENCE column as it should have.

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