You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/guides/20-cloud/10-using-databend-cloud/01-warehouses.md
+32-2Lines changed: 32 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import CheckboxSVG from '@site/static/img/icon/checkbox.svg'
8
8
import EllipsisSVG from '@site/static/img/icon/ellipsis.svg'
9
9
import { Button } from 'antd'
10
10
11
-
The warehouse is an essential component of Databend Cloud. A warehouse represents a set of computing capacities including CPU, memory, and local caches. You must run a warehouse to perform SQL tasks such as:
11
+
The warehouse is an essential component of Databend Cloud. A warehouse represents a set of compute resources including CPU, memory, and local caches. You must run a warehouse to perform SQL tasks such as:
12
12
13
13
- Querying data with the SELECT statement
14
14
- Modifying data with the INSERT, UPDATE, or DELETE statement
@@ -27,7 +27,7 @@ In Databend Cloud, warehouses are available in various sizes, each defined by th
27
27
| Medium | 8 | Ideal for teams handling more complex queries and higher concurrency. Suitable for larger datasets (around 1TB). |
28
28
| Large | 16 | Perfect for organizations running many concurrent queries. Suitable for large datasets (around 5TB). |
29
29
| XLarge | 32 | Built for enterprise-scale workloads with high concurrency. Suitable for very large datasets (over 10TB). |
30
-
| Multi-Cluster Scaling |Unlimited | Automatically scales out and scales in to match your workload, providing the most cost-efficient way to improve concurrency based on your needs. |
30
+
| Multi-Cluster Scaling |Up to Unlimited| Automatically scales out and scales in to match your workload, providing the most cost-efficient way to improve concurrency based on your needs. |
31
31
32
32
To choose the appropriate warehouse size, Databend recommends starting with a smaller size. Smaller warehouses may take longer to execute SQL tasks compared to medium or large ones. If you find that query execution is taking too long (for example, several minutes), consider scaling up to a medium or large warehouse for faster results.
33
33
@@ -81,6 +81,36 @@ To effectively manage your warehouses and ensure optimal performance and cost-ef
81
81
-**Monitor & Adjust Usage**
82
82
- Regularly review warehouse usage and resize as needed to balance cost and performance.
83
83
84
+
## Multi-Cluster Warehouses
85
+
86
+
A multi-cluster warehouse automatically adjusts compute resources by adding or removing clusters based on workload demand. It ensures high concurrency and performance while optimizing cost by scaling up or down as needed.
87
+
88
+
:::note
89
+
Multi-Cluster is only available for Databend Cloud users on the Business and Dedicated plans.
90
+
:::
91
+
92
+
### How it Works
93
+
94
+
By default, a warehouse consists of a single cluster of compute resources, which can handle a maximum number of concurrent queries depending on its size. When Multi-Cluster is enabled for a warehouse, it allows multiple clusters (as defined by the `Max Clusters` setting) to be dynamically added to handle workloads that exceed the capacity of a single cluster.
95
+
96
+
When the number of concurrent queries exceeds the capacity of your warehouse, an additional cluster is added to handle the extra load. If the demand continues to grow, more clusters are added one by one. As query demand decreases, clusters with no activity for longer than the `Auto Suspend` duration are automatically shut down.
97
+
98
+
:::note
99
+
If Multi-Cluster is enabled for a warehouse, the Auto Suspend duration must be set to at least 15 minutes.
100
+
:::
101
+
102
+
### Enabling Multi-Cluster
103
+
104
+
You can enable Multi-Cluster for a warehouse when you create it and set the maximum number of clusters that the warehouse can scale up to.
Multi-Cluster Warehouses are billed based on the number of active clusters used during specific time intervals.
111
+
112
+
For example, for an XSmall Warehouse priced at $1 per hour, if one cluster is actively used from 13:00 to 14:00 and two clusters are actively used from 14:00 to 15:00, the total cost incurred from 13:00 to 15:00 is $3 ((1 cluster × 1 hour × $1) + (2 clusters × 1 hour × $1)).
113
+
84
114
## Connecting to a Warehouse {#connecting}
85
115
86
116
Connecting to a warehouse provides the compute resources required to run queries and analyze data within Databend Cloud. This connection is necessary when accessing Databend Cloud from your applications or SQL clients.
0 commit comments