Materialized View Gives Less Number of Records than its Select Query After a Complete Refresh
Last updated on JANUARY 18, 2017
Applies to:Oracle Server - Enterprise Edition - Version 126.96.36.199 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 TEST_JMA1 P
WHERE NOT EXISTS
FROM COMPANIES_MAPPINGS CM
WHERE CM.COMPANY_TYPES_ID = 1
AND CM.DELETED = 'N'
AND ( CM.COMPANIES_ID_1 = P.COMPANIES_ID
OR CM.COMPANIES_ID_2 = P.COMPANIES_ID));
This is identified during the upgrade process from 10.2.0.5 to 188.8.131.52.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms