Overview

2024-06-28 05:30:31  Updated

The DBMS_MVIEW system package allows you to refresh materialized views and purge materialized view logs.

Applicability

This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only MySQL mode.

Privileges

You must have the EXECUTE privilege on the DBMS_MVIEW package to execute all subprograms in this package. By default, the SYSDBA role has the EXECUTE privilege on this package.

Subprograms

The following table describes the DBMS_MVIEW subprograms supported by the current OceanBase Database version.

Subprogram Description
PURGE_LOG Purges materialized view logs related to the specified master table (base table).
REFRESH Refreshes the specified materialized view.

Contact Us