Create Fast Refreshable Materialized View With Self Join and Avoid ORA-12052, ORA-957
(Doc ID 789912.1)
Last updated on FEBRUARY 02, 2022
Applies to:Oracle Database - Enterprise Edition - Version 10.1.0.5 to 184.108.40.206 [Release 10.1 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Note: This solution is not possible in 9i; trying it for 9i and below will result in ORA-12015: cannot create a fast refresh materialized view from a complex query.
This article will help to create a FAST refreshable materialized view that contains a SELF-JOIN.
Consider the following testcase:
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