Database DataWarehousing (MOSC)

MOSC Banner

Data Inconsistency in Partitioned/Sub-partitioned Materialized View during Fast Refresh

Database: Oracle 19c (Version 19.3.0.0.0) running on Linux
MV Configuration: List partitioned by business_date and sub-partitioned by tx_id and movie_id.
Refresh Method: FAST REFRESH ON COMMIT (Build Deferred).
Optimization: ENABLE QUERY REWRITE is active.

Problem Statement:
Data is missing from certain partitions within the Materialized View (MV), even though the corresponding records exist in the base tables (transaction_detail and direction_details).

Observations:

Query Discrepancy: Running the underlying SELECT statement with the /*+ NO_REWRITE */ hint returns the "missing" data correctly. However, querying the MV directly does not show these records.
Refresh Behaviour: Even after performing multiple COMPLETE refreshes, the missing data does not appear in the MV.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center