Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 26 additions & 24 deletions docs/cn/guides/20-cloud/10-using-databend-cloud/01-warehouses.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ import { Button } from 'antd'

在 Databend Cloud 中,计算集群有多种规格可供选择,每种规格都由其能处理的最大并发查询数量定义。创建计算集群时,您可以从以下规格中选择:

| 规格 | 推荐使用场景 |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| XSmall | 最适合简单任务,如测试或运行轻量级查询。适用于小型数据集 (约 50GB)。 |
| Small | 非常适合运行常规报告和中等工作负载。适用于中等规模数据集 (约 200GB)。 |
| Medium | 非常适合处理更复杂查询和更高并发的团队。适用于较大数据集 (约 1TB)。 |
| Large | 非常适合运行大量并发查询的组织。适用于大型数据集 (约 5TB)。 |
| XLarge | 专为具有高并发的企业级工作负载而构建。适用于超大型数据集 (超过 10TB)。 |
| 规格 | 推荐使用场景 |
| --------------------- | ---------------------------------------------------------------------------------- |
| XSmall | 最适合简单任务,如测试或运行轻量级查询。适用于小型数据集 (约 50GB)。 |
| Small | 非常适合运行常规报告和中等工作负载。适用于中等规模数据集 (约 200GB)。 |
| Medium | 非常适合处理更复杂查询和更高并发的团队。适用于较大数据集 (约 1TB)。 |
| Large | 非常适合运行大量并发查询的组织。适用于大型数据集 (约 5TB)。 |
| XLarge | 专为具有高并发的企业级工作负载而构建。适用于超大型数据集 (超过 10TB)。 |
| nXLarge | n=2,3,4,5,6 [联系我们](https://www.databend.cn/contact-us/) |
| Multi-Cluster Scaling | 自动扩展和收缩以匹配您的工作负载,提供最具成本效益的方式来根据您的需求提高并发性。 |

为了选择合适的计算集群规格,Databend 建议从较小的规格开始。较小的计算集群执行 SQL 任务可能比中型或大型计算集群需要更长时间。如果您发现查询执行时间过长 (例如几分钟),请考虑扩展到中型或大型计算集群以获得更快的结果。
Expand All @@ -46,7 +47,7 @@ import { Button } from 'antd'

您可以对计算集群执行批量操作,包括批量重启、批量暂停、批量恢复和批量删除。为此,请通过勾选计算集群列表中的复选框 <CheckboxSVG/> 来选择要进行批量操作的计算集群,然后点击省略号按钮 <EllipsisSVG/> 进行所需的操作。

![alt text](../../../../../static/img/cloud/bulk.gif)
![alt text](@site/static/img/cloud/bulk.gif)

### 最佳实践

Expand Down Expand Up @@ -146,20 +147,20 @@ Databend Cloud 支持多种连接方法以满足您的特定需求。有关详

#### SQL 客户端和工具

| 客户端 | 类型 | 最适用于 | 主要功能 |
|--------|------|----------|------------|
| **[BendSQL](/guides/sql-clients/bendsql)** | 命令行 | 开发者、脚本 | 原生 CLI、丰富格式化、多种安装选项 |
| **[DBeaver](/guides/sql-clients/jdbc)** | GUI 应用程序 | 数据分析、可视化查询 | 内置驱动程序、跨平台、查询构建器 |
| 客户端 | 类型 | 最适用于 | 主要功能 |
| ------------------------------------------ | ------------ | -------------------- | ---------------------------------- |
| **[BendSQL](/guides/sql-clients/bendsql)** | 命令行 | 开发者、脚本 | 原生 CLI、丰富格式化、多种安装选项 |
| **[DBeaver](/guides/sql-clients/jdbc)** | GUI 应用程序 | 数据分析、可视化查询 | 内置驱动程序、跨平台、查询构建器 |

#### 开发者驱动程序

| 语言 | 驱动程序 | 使用场景 | 文档 |
|----------|--------|----------|---------------|
| **Go** | Golang Driver | 后端应用程序 | [Golang 指南](/guides/sql-clients/developers/golang) |
| **Python** | Python Connector | 数据科学、分析 | [Python 指南](/guides/sql-clients/developers/python) |
| **Node.js** | JavaScript Driver | Web 应用程序 | [Node.js 指南](/guides/sql-clients/developers/nodejs) |
| **Java** | JDBC Driver | 企业应用程序 | [JDBC 指南](/guides/sql-clients/developers/jdbc) |
| **Rust** | Rust Driver | 系统编程 | [Rust 指南](/guides/sql-clients/developers/rust) |
| 语言 | 驱动程序 | 使用场景 | 文档 |
| ----------- | ----------------- | -------------- | ----------------------------------------------------- |
| **Go** | Golang Driver | 后端应用程序 | [Golang 指南](/guides/sql-clients/developers/golang) |
| **Python** | Python Connector | 数据科学、分析 | [Python 指南](/guides/sql-clients/developers/python) |
| **Node.js** | JavaScript Driver | Web 应用程序 | [Node.js 指南](/guides/sql-clients/developers/nodejs) |
| **Java** | JDBC Driver | 企业应用程序 | [JDBC 指南](/guides/sql-clients/developers/jdbc) |
| **Rust** | Rust Driver | 系统编程 | [Rust 指南](/guides/sql-clients/developers/rust) |

### 获取连接信息

Expand All @@ -169,11 +170,11 @@ Databend Cloud 支持多种连接方法以满足您的特定需求。有关详
2. 选择您希望连接的数据库和计算集群。连接信息将根据您的选择进行更新。
3. 连接详细信息包括一个名为 `cloudapp` 的 SQL 用户和一个随机生成的密码。Databend Cloud 不存储此密码。请务必复制并安全保存。如果您忘记了密码,请点击 **重置** 生成新密码。

{/* LANG_REPLACE:
type=image
en=@site/static/img/documents/warehouses/databend_cloud_dsn.gif
cn=@site/static/img/documents_cn/warehouses/databend_cloud_dsn.gif
*/}
{/_ LANG_REPLACE:
type=image
en=@site/static/img/documents/warehouses/databend_cloud_dsn.gif
cn=@site/static/img/documents_cn/warehouses/databend_cloud_dsn.gif
_/}
Comment on lines +173 to +177

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore valid LANG_REPLACE comment syntax

The LANG_REPLACE block here was also changed to {/_ ... _/}, which is not legal MDX/JS and will throw a syntax error during site build, preventing the localized connection image from rendering.

Useful? React with 👍 / 👎.

![alt text](@site/static/img/documents_cn/warehouses/databend_cloud_dsn.gif)

### 连接字符串格式
Expand All @@ -185,6 +186,7 @@ databend://<username>:<password>@<tenant>.gw.<region>.default.databend.com:443/<
```

其中:

- `<username>`:默认为 `cloudapp`
- `<password>`:点击 **重置** 查看或更改
- `<tenant>`、`<region>`:您的账户信息 (显示在连接详细信息中)
Expand Down
36 changes: 19 additions & 17 deletions docs/en/guides/20-cloud/10-using-databend-cloud/01-warehouses.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ In Databend Cloud, warehouses are available in various sizes, each defined by th
| Medium | Ideal for teams handling more complex queries and higher concurrency. Suitable for larger datasets (around 1TB). |
| Large | Perfect for organizations running many concurrent queries. Suitable for large datasets (around 5TB). |
| XLarge | Built for enterprise-scale workloads with high concurrency. Suitable for very large datasets (over 10TB). |
| nXLarge | n=2,3,4,5,6 [Contace Us](https://www.databend.com/contact-us/) |
| Multi-Cluster Scaling | Automatically scales out and scales in to match your workload, providing the most cost-efficient way to improve concurrency based on your needs. |

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.
Expand All @@ -46,7 +47,7 @@ A suspended warehouse does not consume any credits. You can manually suspend or

You can perform bulk operations on warehouses, including bulk restart, bulk suspend, bulk resume, and bulk delete. To do so, select the warehouses for bulk operations by checking the checkboxes <CheckboxSVG/> in the warehouse list, and then click the ellipse button <EllipsisSVG/> for the desired operation.

![alt text](../../../../../static/img/cloud/bulk.gif)
![alt text](@site/static/img/cloud/bulk.gif)

### Best Practices

Expand Down Expand Up @@ -146,20 +147,20 @@ Databend Cloud supports multiple connection methods to meet your specific needs.

#### SQL Clients & Tools

| Client | Type | Best For | Key Features |
|--------|------|----------|------------|
| **[BendSQL](/guides/sql-clients/bendsql)** | Command Line | Developers, Scripts | Native CLI, Rich formatting, Multiple install options |
| **[DBeaver](/guides/sql-clients/jdbc)** | GUI Application | Data Analysis, Visual Queries | Built-in driver, Cross-platform, Query builder |
| Client | Type | Best For | Key Features |
| ------------------------------------------ | --------------- | ----------------------------- | ----------------------------------------------------- |
| **[BendSQL](/guides/sql-clients/bendsql)** | Command Line | Developers, Scripts | Native CLI, Rich formatting, Multiple install options |
| **[DBeaver](/guides/sql-clients/jdbc)** | GUI Application | Data Analysis, Visual Queries | Built-in driver, Cross-platform, Query builder |

#### Developer Drivers

| Language | Driver | Use Case | Documentation |
|----------|--------|----------|---------------|
| **Go** | Golang Driver | Backend Applications | [Golang Guide](/guides/sql-clients/developers/golang) |
| **Python** | Python Connector | Data Science, Analytics | [Python Guide](/guides/sql-clients/developers/python) |
| **Node.js** | JavaScript Driver | Web Applications | [Node.js Guide](/guides/sql-clients/developers/nodejs) |
| **Java** | JDBC Driver | Enterprise Applications | [JDBC Guide](/guides/sql-clients/developers/jdbc) |
| **Rust** | Rust Driver | System Programming | [Rust Guide](/guides/sql-clients/developers/rust) |
| Language | Driver | Use Case | Documentation |
| ----------- | ----------------- | ----------------------- | ------------------------------------------------------ |
| **Go** | Golang Driver | Backend Applications | [Golang Guide](/guides/sql-clients/developers/golang) |
| **Python** | Python Connector | Data Science, Analytics | [Python Guide](/guides/sql-clients/developers/python) |
| **Node.js** | JavaScript Driver | Web Applications | [Node.js Guide](/guides/sql-clients/developers/nodejs) |
| **Java** | JDBC Driver | Enterprise Applications | [JDBC Guide](/guides/sql-clients/developers/jdbc) |
| **Rust** | Rust Driver | System Programming | [Rust Guide](/guides/sql-clients/developers/rust) |

### Obtaining Connection Information

Expand All @@ -169,11 +170,11 @@ To obtain the connection information for a warehouse:
2. Select the database and warehouse you wish to connect to. The connection information will update based on your selection.
3. The connection details include a SQL user named `cloudapp` with a randomly generated password. Databend Cloud does not store this password. Be sure to copy and save it securely. If you forget the password, click **Reset** to generate a new one.

{/* LANG_REPLACE:
type=image
en=@site/static/img/documents/warehouses/databend_cloud_dsn.gif
cn=@site/static/img/documents_cn/warehouses/databend_cloud_dsn.gif
*/}
{/_ LANG_REPLACE:
type=image
en=@site/static/img/documents/warehouses/databend_cloud_dsn.gif
cn=@site/static/img/documents_cn/warehouses/databend_cloud_dsn.gif
_/}
Comment on lines +173 to +177

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore valid LANG_REPLACE comment syntax

The LANG_REPLACE block was rewritten as {/_ ... _/} which is not valid MDX/JS syntax (it starts an unclosed regex inside {}), so this page will fail to compile/render and the localized image swap is lost when building the docs.

Useful? React with 👍 / 👎.

![alt text](@site/static/img/documents/warehouses/databend_cloud_dsn.gif)

### Connection String Format
Expand All @@ -185,6 +186,7 @@ databend://<username>:<password>@<tenant>.gw.<region>.default.databend.com:443/<
```

Where:

- `<username>`: Default is `cloudapp`
- `<password>`: Click **Reset** to view or change
- `<tenant>`, `<region>`: Your account information (shown in the connection details)
Expand Down
Loading