Skip to main content

SHOW WAREHOUSES

Introduced or updated: v1.2.687

Lists all warehouses visible to the current tenant.

Syntax

SHOW WAREHOUSES [ LIKE '<pattern>' ]
ParameterDescription
LIKE '<pattern>'Optional. Filters warehouse names using SQL LIKE semantics (% matches any sequence, _ matches any single character).

Output Columns

ColumnDescription
nameWarehouse name
stateCurrent state (e.g., Running, Suspended)
sizeWarehouse size
auto_suspendAuto-suspend timeout in seconds
auto_resumeWhether auto-resume is enabled
min_cluster_countMinimum cluster count for auto-scaling
max_cluster_countMaximum cluster count for auto-scaling
commentUser-defined comment
created_onCreation timestamp

Examples

List all warehouses:

SHOW WAREHOUSES;

List warehouses matching a pattern:

SHOW WAREHOUSES LIKE '%prod%';
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today