Previous |
Next |
Refreshing a materialized view makes it consistent with its master table. If the materialized view is part of a refresh group, then it is usually best to refresh the refresh group instead of the materialized view individually. Refreshing the refresh group ensures that all of the materialized views in the refresh group are consistent to a point in time.
To refresh a materialized view:
In Enterprise Manager, log in to the materialized view site as the materialized view administrator. The default user name for the materialized view administrator is mvadmin
.
Go to the Database Home page.
Click Data Movement to open the Data Movement subpage.
Click Manage in the Advanced Replication section.
The Advanced Replication: Administration page appears, showing the Overview subpage.
Click the number associated with Materialized Views in the Materialized View Site section.
On the Materialized Views page, use the search tool to list the materialized view that you want to refresh.
To list all materialized views, leave the Schema and Object Name fields blank and click Go.
Select the materialized view in the list.
Select Refresh in the Actions list.
Click Go to open the Refresh Materialized View page for the selected materialized view.
Adjust the options if necessary.
Typically, the default values should be used.
Click OK.
On the confirmation page, click Yes to refresh the materialized view.
Note: You can also use the DBMS_MVIEW.REFRESH
procedure to refresh a materialized view.