My Oracle Support Banner

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

Last updated on AUGUST 26, 2021

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.2 to 11.2]
Information in this document applies to any platform.


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 primary tables), fast refreshed if one of the primary tables was updated, but generated an ORA-12057 if both primary tables were updated. In that particular case, one of the mview logs did not contain the SEQUENCE column as it should have.




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
 Restrictions on Fast Refresh on Materialized Views with Aggregates

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.