Updated on 2025-07-22 GMT+08:00

REFRESH MATERIALIZED VIEW

Function

Refreshes a materialized view. The refresh mode is specified by the REFRESH parameter in the CREATE MATERIALIZED VIEW syntax. Currently, full refresh and scheduled refresh are supported.

Precautions

The refresh operation blocks the DML operations on the base table.

Syntax

1
2
REFRESH MATERIALIZED VIEW
{[schema.]materialized_view_name}

Parameter Description

Table 1 REFRESH MATERIALIZED VIEW parameters

Parameter

Description

Value Range

materialized_view_name

Specifies the schema name of the target table.

-

Examples

Refresh a materialized view.

1
REFRESH MATERIALIZED VIEW mv1;