Materialized views

A materialized view is a stored view query result. The data on which the view is defined is referred to as the master table or tables. The materialized view is stored in its own table, which is refreshed based on changes to the master table or tables. Oracle supports the following types of materialized views:

For a complete description of materialized view architecture and behavior, see the Oracle documentation.

Instead of replicating the table containing a materialized view, Replication Agent replicates only the master table or tables on which the view query is defined. The materialized view table is subsequently refreshed according to the contents of the replicated master tables. Replication Agent does not support direct replication of the table containing a materialized view. Do not attempt to replicate such a table.

NoteIf you are using replication for disaster recovery, and your primary database contains the master table or tables for a remote materialized view, and you fail over to the standby database, the database containing the remote materialized view must be redirected to point to the standby database before a refresh of the remote materialized view occurs. Otherwise, the refresh fails.