Previous |
Next |
To enable fast refresh of a materialized view, configure a materialized view log for its master table at the master site. A fast refresh is more efficient than a complete refresh, because it updates only rows that have changed since the last refresh. See "About Materialized View Refresh" for more information.
To configure materialized view logs:
In Oracle Enterprise Manager, log in to the master site as an administrative user, such as SYSTEM
.
Go to the Database Home page.
Click Data Movement to open the Data Movement subpage.
Click Setup in the Advanced Replication section.
On the Advanced Replication: Setup page, expand Updateable Materialized View Replication.
Select Create Materialized View log on source database tables for fast refresh.
Click Continue to open the Create Materialized View Log page.
Enter the schema name and table name for the master table in the form schema.table
in the Schema.Table field, or click the flashlight icon to find the table.
Click Populate Columns.
If you have a specific tablespace for the materialized view log you are creating, then enter the tablespace name in the Tablespace field. Otherwise, leave <Default>
in the field.
Ensure that Primary Key is selected in Refresh Types.
Click OK to create the materialized view log.
Note: You can also use the CREATE
MATERIALIZED
VIEW
LOG
SQL statement to create a materialized view log.