Skip to content

Commit

Permalink
fix: languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Chasen-Zhang committed Nov 26, 2024
1 parent 3d6a707 commit 2e94b49
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 68 deletions.
2 changes: 2 additions & 0 deletions docs/en/guides/00-overview/00-editions/02-dc/01-platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ When you sign up for a Databend Cloud account, you will need to select a cloud p
<!-- #endendef -->

<!-- #ifcndef -->

Databend Cloud 是一个云原生解决方案,目前支持以下区域的 [Amazon S3](https://aws.amazon.com/s3/)

![alt text](/img/cloud/dc-platform.png)
Expand All @@ -26,4 +27,5 @@ Databend Cloud 计划扩展对更多云平台和区域的支持。如果您的
:::

您在开通 Databend Cloud 账号时需要选定一个云厂商及地域。开通成功后,选定的云厂商及地域暂不支持修改。

<!-- #endcndef -->
17 changes: 11 additions & 6 deletions docs/en/guides/00-overview/00-editions/02-dc/02-editions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,23 @@ title: Editions
---

import DatabendTable from '@site/src/components/DatabendTable';
import LanguageDocs from '@site/src/components/LanguageDocs';

Databend Cloud comes in three editions: **Personal**, **Business**, and **Dedicated**, that you can choose from to serve a wide range of needs and ensure optimal performance for different use cases.

<!-- #ifendef -->
<LanguageDocs
cn=
'

For a quick overview of these editions, see [https://www.databend.com/databend-cloud](https://www.databend.com/databend-cloud). For the pricing information, see [Pricing & Billing](/guides/overview/editions/dc/pricing). For the detailed feature list among these editions, see [Feature Lists](#feature-lists).
如需快速了解这些版本,请访问 [https://www.databend.cn/databend-cloud](https://www.databend.com/databend-cloud)。有关定价信息,请参阅 [定价与计费](/guides/overview/editions/dc/pricing)。有关各版本详细功能列表,请参阅 [功能列表](#feature-lists)

<!-- #endendef -->
'
en=
'

<!-- #ifcndef -->
如需快速了解这些版本,请访问 [https://www.databend.cn/databend-cloud](https://www.databend.com/databend-cloud)。有关定价信息,请参阅 [定价与计费](/guides/overview/editions/dc/pricing)。有关各版本详细功能列表,请参阅 [功能列表](#feature-lists)
<!-- #endcndef -->
For a quick overview of these editions, see [https://www.databend.com/databend-cloud](https://www.databend.com/databend-cloud). For the pricing information, see [Pricing & Billing](/guides/overview/editions/dc/pricing). For the detailed feature list among these editions, see [Feature Lists](#feature-lists).

'/>

## Feature Lists

Expand Down
110 changes: 58 additions & 52 deletions docs/en/guides/00-overview/00-editions/02-dc/03-pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,12 @@
title: Pricing & Billing
---

<!-- #ifendef -->
import LanguageDocs from '@site/src/components/LanguageDocs';

Your costs on Databend Cloud consist of the following components: warehouses, storage, and cloud service fees. This page contains information about the pricing of each component and how the billing works.

## Databend Cloud Pricing

This section provides pricing information on warehouse, storage, and cloud service.

### Warehouse Pricing

Your warehouses incur costs when they are running (specifically, when in the Running state). The cost depends on the warehouse's size and running time. **Billing is calculated on a per-second basis**. For example, if you have a warehouse running for three seconds, you will be charged for that exact duration.

The size of a warehouse refers to the maximum number of concurrent queries it can handle, and prices vary based on the different sizes available and the Databend Cloud edition you use.

| Size | Max. Concurrency | Hourly Cost (Personal) | Hourly Cost (Business) |
| ------ | ---------------- | ---------------------- | ---------------------- |
| XSmall | 2 | $1.00 | $1.50 |
| Small | 4 | $2.00 | $3.00 |
| Medium | 8 | $4.00 | $6.00 |
| Large | 16 | $8.00 | $12.00 |
| XLarge | 32 | $16.00 | $24.00 |

A suspended warehouse does not consume any resources. By default, Databend Cloud automatically suspends a warehouse after five minutes of inactivity to save resources and costs. You can adjust or disable this automatic suspension feature according to your preferences.

### Storage Pricing

Your data in Databend Cloud is physically stored in Amazon S3. Storage costs in Databend Cloud are based on Amazon S3's pricing. Currently, both the Personal Edition and Business Edition are priced at $23.00 per month per terabyte (TB).
<LanguageDocs
cn=
"

| Edition | Price per TB per Month |
| ---------------- | ---------------------- |
| Personal Edition | $23.00 |
| Business Edition | $23.00 |

### Cloud Service Pricing

The cloud service fee currently includes fees for the API requests. Each time you run a SQL query with Databend Cloud, a REST API request is sent to the `databend-query` through the [Databend HTTP handler](/developer/apis/http). In the Personal Edition, you are billed $1 for every 10,000 API requests, while in the Business Edition, the cost is $2 for every 10,000 API requests.

| Edition | Cost per 10,000 API Requests |
| ---------------- | ---------------------------- |
| Personal Edition | $1.00 |
| Business Edition | $2.00 |

## Databend Cloud Billing

The billing period is set for every calendar month, starting from the 1st day to the last day of the month. For your first month, the billing period will begin on the day your organization was created.

To check your billing details, go to **Manage** and then click on **Billing**. From there, you can review your bills and link a credit card for payment.

When billing users, Databend Cloud applies coupons first. If multiple coupons are available, the system prioritizes deduction from the coupon with the earliest expiration date. Please ensure coupons are used before their expiration date.

<!-- #endendef -->

<!-- #ifcndef -->
您在 Databend Cloud 上的费用由以下几个部分组成:计算集群、存储和云服务费。本页面包含各部分的价格信息以及账单的说明。

## Databend Cloud 定价
Expand Down Expand Up @@ -102,4 +55,57 @@ When billing users, Databend Cloud applies coupons first. If multiple coupons ar
要查看您的账单,请前往 **管理**,然后点击 **费用中心**

在进行扣费时,Databend Cloud 首先使用优惠券。如果有多个优惠券可用,系统会优先从到期日期最早的优惠券中扣除。请确保在优惠券到期前使用。
<!-- #endcndef -->

"
en=
"

Your costs on Databend Cloud consist of the following components: warehouses, storage, and cloud service fees. This page contains information about the pricing of each component and how the billing works.

## Databend Cloud Pricing

This section provides pricing information on warehouse, storage, and cloud service.

### Warehouse Pricing

Your warehouses incur costs when they are running (specifically, when in the Running state). The cost depends on the warehouse\'s size and running time. **Billing is calculated on a per-second basis**. For example, if you have a warehouse running for three seconds, you will be charged for that exact duration.

The size of a warehouse refers to the maximum number of concurrent queries it can handle, and prices vary based on the different sizes available and the Databend Cloud edition you use.

| Size | Max. Concurrency | Hourly Cost (Personal) | Hourly Cost (Business) |
| ------ | ---------------- | ---------------------- | ---------------------- |
| XSmall | 2 | $1.00 | $1.50 |
| Small | 4 | $2.00 | $3.00 |
| Medium | 8 | $4.00 | $6.00 |
| Large | 16 | $8.00 | $12.00 |
| XLarge | 32 | $16.00 | $24.00 |

A suspended warehouse does not consume any resources. By default, Databend Cloud automatically suspends a warehouse after five minutes of inactivity to save resources and costs. You can adjust or disable this automatic suspension feature according to your preferences.

### Storage Pricing

Your data in Databend Cloud is physically stored in Amazon S3. Storage costs in Databend Cloud are based on Amazon S3's pricing. Currently, both the Personal Edition and Business Edition are priced at $23.00 per month per terabyte (TB).

| Edition | Price per TB per Month |
| ---------------- | ---------------------- |
| Personal Edition | $23.00 |
| Business Edition | $23.00 |

### Cloud Service Pricing

The cloud service fee currently includes fees for the API requests. Each time you run a SQL query with Databend Cloud, a REST API request is sent to the `databend-query` through the [Databend HTTP handler](/developer/apis/http). In the Personal Edition, you are billed $1 for every 10,000 API requests, while in the Business Edition, the cost is $2 for every 10,000 API requests.

| Edition | Cost per 10,000 API Requests |
| ---------------- | ---------------------------- |
| Personal Edition | $1.00 |
| Business Edition | $2.00 |

## Databend Cloud Billing

The billing period is set for every calendar month, starting from the 1st day to the last day of the month. For your first month, the billing period will begin on the day your organization was created.

To check your billing details, go to **Manage** and then click on **Billing**. From there, you can review your bills and link a credit card for payment.

When billing users, Databend Cloud applies coupons first. If multiple coupons are available, the system prioritizes deduction from the coupon with the earliest expiration date. Please ensure coupons are used before their expiration date.

"/>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ sidebar_label: Understanding Deployments
description: Describes Databend deployment modes
---

import LanguageDocs from '@site/src/components/LanguageDocs';

## Databend Node Types

In a Databend deployment, two types of nodes are utilized: Meta and Query.
Expand Down Expand Up @@ -81,6 +83,11 @@ Databend supports for self-hosted and cloud object storage solutions. Prepare yo
- Tencent COS
- Alibaba OSS
- QingCloud QingStor
<!-- #ifcndef -->

<LanguageDocs
cn=
'

- 华为 OBS
<!-- #endcndef -->

'/>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Query Configurations
---

import FunctionDescription from '@site/src/components/FunctionDescription';
import LanguageDocs from '@site/src/components/LanguageDocs';

<FunctionDescription description="Introduced or updated: v1.2.344"/>

Expand Down Expand Up @@ -191,7 +192,10 @@ The following is a list of the parameters available within the [storage.oss] sec
| presign_endpoint_url | The URL endpoint for presigned operations with Alibaba Cloud OSS. |
| root | Specifies a directory within the bucket from which Databend will operate. Example: if a bucket's root directory has a folder called `myroot`, then `root = "myroot/"`. |

<!-- #ifcndef -->
<LanguageDocs
cn=
'

### [storage.obs] Section

以下是 [storage.obs] 部分中可用的参数列表:
Expand All @@ -202,7 +206,8 @@ The following is a list of the parameters available within the [storage.oss] sec
| endpoint_url | 华为云 OBS 的 URL 端点。 |
| access_key_id | 用于与华为云 OBS 进行身份验证的访问密钥 ID。 |
| secret_access_key | 用于与华为云 OBS 进行身份验证的访问密钥秘密。 |
<!-- #endcndef -->

'/>

### [storage.cos] Section

Expand Down
4 changes: 3 additions & 1 deletion docs/en/guides/20-cloud/20-manage/02-ai-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ title: AI-Powered Features
import SearchSVG from '@site/static/img/icon/search.svg'

<!-- #ifcndef -->

:::tip
Chinese features are somewhat limited or not fully open.
The AI-powered features are not available in some regions.
:::

<!-- #endcndef -->

With the inclusion of AI-powered features, Databend Cloud allows you to engage in natural language conversations to receive help, assistance, and solutions. These AI-powered features are enabled by default, but you can disable them if desired by navigating to **Manage** > **Settings**.
Expand Down
4 changes: 0 additions & 4 deletions generate-language-block-url.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
const filesToProcess = [
"guides/10-deploy/04-references/02-node-config/02-query-config.md",
"guides/10-deploy/01-deploy/00-understanding-deployment-modes.md",
"guides/10-deploy/01-deploy/01-non-production/01-deploying-databend.md",
"guides/00-overview/00-editions/02-dc/01-platforms.md",
"guides/00-overview/00-editions/02-dc/02-editions.md",
"guides/00-overview/00-editions/02-dc/03-pricing.md",
"guides/20-cloud/00-new-account.md",
"guides/20-cloud/20-manage/02-ai-features.md",
// More file paths can be added here
Expand Down
2 changes: 1 addition & 1 deletion src/components/LanguageDocs/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2023 DatabendLabs.
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import React, { FC, ReactElement, ReactNode } from "react";
import React, { FC } from "react";
import ReactMarkdown from "react-markdown";
import remarkGfm from "remark-gfm";
interface IProps {
Expand Down

0 comments on commit 2e94b49

Please sign in to comment.