SHOW VOLUMES
Syntax
Parameters
-
LIKE pattern: Optional parameter for pattern matching and filtering by volume name. Supports case-insensitive matching using SQL wildcards%(matches any number of characters) and_(matches a single character). Example:LIKE '%testing%'. Note: Cannot be used simultaneously with theWHEREclause. -
IN schema_name: Optional parameter for specifying a particular schema name, listing all volumes under that schema. -
WHERE expr: Optional parameter for filtering based on the fields displayed by theSHOW VOLUMEScommand, supporting precise filtering of results using expressions.
Display Fields
| Field | Description |
|---|---|
| volume_name | Volume name |
| create_time | Volume creation time |
| external | Whether it is an external Volume |
| workspace_name | Workspace name to which the Volume belongs |
| url | Volume URL address |
| recursive_file_lookup | Whether recursive file lookup is enabled |
| connection | Volume connection information |
Examples
Query which volumes use xxx.storage_connection:
Description
This command is used to list all Volume information under the current schema, and supports filtering results based on specified conditions via the WHERE clause.
