How to Perform an EXPDP/IMPDP for a SCHEMA with a MATERIALIZED VIEW. Highlighting the IMPORT Staleness and UNKNOWN_IMPORT column in DBA_MVIEWS (Doc ID 1579866.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.8 and later
Information in this document applies to any platform.

Goal

This document will cover a COMPLETE Refresh only MVIEW.  It also should be noted that the only side affect here is with the Optimizer and how this approaches
Query Rewrite.  The data in the mview is not affected, other than the fact the Optimizer has no idea how current this is, which is why it has a Status of IMPORT.
Once a COMPLETE Refresh is performed on this mview then all status's go back to FRESH, as per a normal COMPLETE Refresh.

Creating the Materialized View and Schema.

 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms