<@U0A71G31CDV> are warehouses enterprise only feat...
# questions-and-troubleshooting
a
@Rocky are warehouses enterprise only feature?
r
Short answer: the docs don't label warehouses as an "Enterprise-only" feature, but in practice creating and using more than one warehouse is not available in open-source StarRocks. What the open-source code and docs actually say: • In open-source builds (3.5, 4.0, 4.1) exactly one warehouse exists:
default_warehouse
(id 0), created in memory at FE startup. Every CN/BE of a shared-data cluster belongs to it. • The warehouse DDL parses but is rejected at execution: •
CREATE WAREHOUSE
,
DROP WAREHOUSE
,
SUSPEND/RESUME WAREHOUSE
,
ALTER WAREHOUSE ... SET (...)
→
"Multi-Warehouse is not implemented"
•
ALTER SYSTEM ADD COMPUTE NODE ... INTO WAREHOUSE <name>
with any name other than
default_warehouse
→
Warehouse name: <name> not exist
(ERROR 5901) •
DROP WAREHOUSE default_warehouse
→
"Can't drop the default_warehouse"
• What does work:
SHOW WAREHOUSES
(one row),
SHOW NODES FROM WAREHOUSE default_warehouse
,
SET WAREHOUSE = 'default_warehouse'
,
SELECT current_warehouse()
.
SET WAREHOUSE
is rejected outright in shared-nothing mode (ERROR 5907). • Warehouse-related `PROPERTIES`/headers on MVs, Routine Load, Broker Load, Stream Load and Pipes are accepted, but only
default_warehouse
is a valid value, so they isolate nothing. So for workload separation in open source you'd use resource groups (CPU/memory on shared nodes) and query queues rather than separate warehouses. Whether multi-warehouse ships in an enterprise/commercial StarRocks offering is something I can't confirm from these docs — if that's what you need, ask CelerData (the company behind StarRocks) or check the GitHub repo/release notes for status. References • sql-reference/sql-functions/utility-functions/current_warehouse.md • sql-reference/information_schema/warehouse_metrics.md • introduction/Architecture.md • data_source/catalog/unified_catalog.md • sql-reference/information_schema/warehouse_queries.md • knowledge/qa/warehouses_and_isolation_in_open_source.md (StarRocks knowledge base)