When starting databend-query with ./databend-query --dynamic-cluster -c ./databend-query.toml, databend-query will be added to the resource pool of the corresponding tenant and reject all SQL requests except for CREATE DYNAMIC CLUSTER, DROP DYNAMIC CLUSTER, and SHOW DYNAMIC CLUSTERS.
When a user executes CREATE DYNAMIC CLUSTER xx WITH NODES = XX, it will obtain the corresponding number of nodes from the tenant's resource pool to form a new cluster.
When a user executes DROP DYNAMIC CLUSTER xx, all nodes of the corresponding cluster will be destroyed and returned to the tenant's resource pool.
Summary
When starting databend-query with
./databend-query --dynamic-cluster -c ./databend-query.toml
, databend-query will be added to the resource pool of the corresponding tenant and reject all SQL requests except forCREATE DYNAMIC CLUSTER
,DROP DYNAMIC CLUSTER
, andSHOW DYNAMIC CLUSTERS
.When a user executes
CREATE DYNAMIC CLUSTER xx WITH NODES = XX
, it will obtain the corresponding number of nodes from the tenant's resource pool to form a new cluster.When a user executes
DROP DYNAMIC CLUSTER xx
, all nodes of the corresponding cluster will be destroyed and returned to the tenant's resource pool.