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

# DROP STORAGE VOLUME

> DROP STORAGE VOLUME removes a storage volume from the cluster.

## 功能

删除指定存储卷。已删除的存储卷无法被引用。该功能自 v3.1 起支持。

> **注意**
>
> * 仅拥有指定存储卷 DROP 权限的用户可以执行该操作。
> * 默认存储卷以及内置存储卷 `builtin_storage_volume` 无法删除。您可以通过 [DESC STORAGE VOLUME](/documents/cn/4.2/sql-reference/sql-statements/cluster-management/storage_volume/DESC_STORAGE_VOLUME.md) 查看存储卷是否为默认存储卷。
> * 被已有数据库或云原生表引用的存储卷无法删除。

## 语法

```SQL theme={null}
DROP STORAGE VOLUME [ IF EXISTS ] <storage_volume_name>
```

## 参数说明

| **参数** | **说明** |
| - | - |
| storage\_volume\_name | 待删除的存储卷的名称。 |

## 示例

示例一：删除存储卷 `my_s3_volume`。

```Plain theme={null}
MySQL > DROP STORAGE VOLUME my_s3_volume;
Query OK, 0 rows affected (0.01 sec)
```

## 相关 SQL

* [CREATE STORAGE VOLUME](/documents/cn/4.2/sql-reference/sql-statements/cluster-management/storage_volume/CREATE_STORAGE_VOLUME.md)
* [ALTER STORAGE VOLUME](/documents/cn/4.2/sql-reference/sql-statements/cluster-management/storage_volume/ALTER_STORAGE_VOLUME.md)
* [SET DEFAULT STORAGE VOLUME](/documents/cn/4.2/sql-reference/sql-statements/cluster-management/storage_volume/SET_DEFAULT_STORAGE_VOLUME.md)
* [DESC STORAGE VOLUME](/documents/cn/4.2/sql-reference/sql-statements/cluster-management/storage_volume/DESC_STORAGE_VOLUME.md)
* [SHOW STORAGE VOLUMES](/documents/cn/4.2/sql-reference/sql-statements/cluster-management/storage_volume/SHOW_STORAGE_VOLUMES.md)


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