Materialized View Gives Less Number of Records than its Select Query After a Complete Refresh
(Doc ID 1515095.1)
Last updated on MARCH 10, 2020
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud 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
Information in this document applies to any platform.
This is an issue specific to MVIEW containing join conditions.
Wrong result from mview containing joins after complete refresh.
Example of such a select query for reference:
FROM XYZ P
WHERE NOT EXISTS
FROM ABCD CM
WHERE CM.COL1_ID = 1
AND CM.COL2= 'N'
AND ( CM.COL3 = P.COLUMN1
OR CM.COL4= P.COLUMN1));
This is identified during the upgrade process from 10.2.0.5 to 126.96.36.199.
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