Skip to main content
SHOW MATERIALIZED VIEWS shows all or one specific asynchronous materialized view. Since v3.0, the name of this statement is changed from SHOW MATERIALIZED VIEW to SHOW MATERIALIZED VIEWS. Tip This operation does not require privileges.

Syntax

Note Since v3.3, SHOW MATERIALIZED VIEWS command will track the state of all task_runs if a refresh task consists of multiple partitions/task_runs to refresh. Only when all task_runs are success, last_refresh_state will return SUCCESS.

Parameters

Returns

Examples

The following examples is based on this business scenario:
Example 1: Show a specific materialized view.
Example 2: Show materialized views by matching the name.