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 126.96.36.199 to 188.8.131.52 [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|