My Oracle Support Banner

Materialized View Gives Less Number of Records than its Select Query After a Complete Refresh (Doc ID 1515095.1)

Last updated on FEBRUARY 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 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.

Symptoms

Wrong result from mview containing joins after complete refresh.

Example of such a select query for reference:

SELECT *
FROM XYZ P
WHERE NOT EXISTS
(SELECT NULL
FROM ABCD CM
WHERE CM.COL1_ID = 1
AND CM.COL2= 'N'
AND ( CM.COL3 = P.COLUMN1
OR CM.COL4= P.COLUMN1));

Changes

 This is identified during the upgrade process from 10.2.0.5 to 11.2.0.3.

Cause

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
Symptoms
Changes
Cause
Solution
References


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