SHOW STORAGE VOLUMES
SHOW STORAGE VOLUMES shows the storage volumes in your StarRocks cluster. This feature is supported from v3.1.
tip
This operation does not require privileges.
Syntaxβ
SHOW STORAGE VOLUMES [ LIKE '<pattern>' ]
Parametersβ
Parameter | Description |
---|---|
pattern | The pattern used to match the storage volumes. |
Return valueβ
Return | Description |
---|---|
Storage Volume | The name of the storage volume. |
Examplesβ
Example 1: Show all storage volumes in the StarRocks cluster.
MySQL > SHOW STORAGE VOLUMES;
+----------------+
| Storage Volume |
+----------------+
| my_s3_volume |
+----------------+
1 row in set (0.01 sec)