> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# CANCEL REFRESH MATERIALIZED VIEW

> 取消异步物化视图的刷新任务。

## 功能

取消异步物化视图的刷新任务。

**Tip**

该操作需要对应物化视图的 REFRESH 权限。

## 语法

```SQL theme={null}
CANCEL REFRESH MATERIALIZED VIEW [database_name.]materialized_view_name [FORCE]
```

## 参数说明

| **参数** | **必选** | **说明** |
| - | - | - |
| database\_name | 否 | 待取消刷新的物化视图所属数据库名称。如果不指定该参数，则默认使用当前数据库。 |
| materialized\_view\_name | 是 | 待取消刷新的物化视图名称。 |
| FORCE | 否 | 强制取消物化视图刷新任务。 |

## 示例

示例一：取消异步物化视图 `lo_mv1` 的刷新任务。

```SQL theme={null}
CANCEL REFRESH MATERIALIZED VIEW lo_mv1;
CANCEL REFRESH MATERIALIZED VIEW lo_mv1 FORCE;
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.