Skip to content

Commit

Permalink
Updates for the scalable cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
shizn committed Apr 2, 2024
1 parent eb973a6 commit 67b2f13
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tidb-cloud/serverless-faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Get started with the 5-minute [TiDB Cloud Quick Start](/tidb-cloud/tidb-cloud-qu

### How many TiDB Serverless clusters can I create in TiDB Cloud?

For each organization in TiDB Cloud, you can create a maximum of five TiDB Serverless clusters by default. To create more TiDB Serverless clusters, you need to add a credit card and set a [spending limit](/tidb-cloud/tidb-cloud-glossary.md#spending-limit) for usage.
For each organization in TiDB Cloud, you can create a maximum of five [Free clusters](/tidb-cloud/select-cluster-tier.md#free-cluster-plan) by default. To create more TiDB Serverless clusters, you need to add a credit card and create [scalable clusters](/tidb-cloud/select-cluster-tier.md#scalable-cluster-plan) for the usage.

### Are all TiDB Cloud features fully supported on TiDB Serverless?

Expand Down Expand Up @@ -61,7 +61,7 @@ Under the free plan, cluster performance is capped at a maximum of 10,000 RUs pe

To get the RU consumption of individual SQL statements, you can use the [`EXPLAIN ANALYZE`](/sql-statements/sql-statement-explain-analyze.md#ru-request-unit-consumption) SQL statement. However, it is important to note that the RUs usage returned in `EXPLAIN ANALYZE` does not incorporate egress RUs, as egress usage is measured separately in the gateway, which is unknown to the TiDB server.

To get the RUs and storage used by your cluster, view the **Usage this month** pane on your cluster overview page. With your past resource usage data and real-time resource usage in this pane, you can track your cluster's resource consumption and estimate a reasonable spending limit. If the free quota cannot meet your requirement, you can edit the spending limit easily. For more information, see [Manage Spending Limit for TiDB Serverless clusters](/tidb-cloud/manage-serverless-spend-limit.md).
To get the RUs and storage used by your cluster, view the **Usage this month** pane on your cluster overview page. With your past resource usage data and real-time resource usage in this pane, you can track your cluster's resource consumption and estimate a reasonable spending limit. If the free quota cannot meet your requirement, you can [upgrade to Scalable Cluster](/tidb-cloud/select-cluster-tier.md#scalable-cluster-plan) and edit the spending limit. For more information, For more information, see [TiDB Serverless usage quota](/tidb-cloud/select-cluster-tier.md#usage-quota).

### How can I optimize my workload to minimize the number of RUs consumed?

Expand All @@ -85,7 +85,7 @@ A spike in RU usage can occur due to necessary background jobs in TiDB. These jo

### What happens when my cluster exhausts its free quota or exceeds its spending limit?

Once a cluster reaches its free quota or spending limit, the cluster immediately denies any new connection attempts until the quota is increased or the usage is reset at the start of a new month. For more information, see [TiDB Serverless Limitations and Quotas](/tidb-cloud/serverless-limitations.md#usage-quota).
Once a cluster reaches its free quota or spending limit, the cluster immediately denies any new connection attempts until the quota is increased or the usage is reset at the start of a new month. Existing connections established before reaching the quota will not be affected. For more information, see [TiDB Serverless Limitations and Quotas](/tidb-cloud/serverless-limitations.md#usage-quota).

### Why do I observe spikes in RU usage while importing data?

Expand Down
2 changes: 1 addition & 1 deletion tidb-cloud/serverless-limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ Once a cluster reaches its usage quota, it immediately denies any new connection

To learn more about the RU consumption of different resources (including read, write, SQL CPU, and network egress), the pricing details, and the throttled information, see [TiDB Serverless Pricing Details](https://www.pingcap.com/tidb-cloud-serverless-pricing-details).

If you want to create a TiDB Serverless cluster with an additional quota, you can edit the spending limit on the cluster creation page. For more information, see [Create a TiDB Serverless cluster](/tidb-cloud/create-tidb-cluster-serverless.md).
If you want to create a TiDB Serverless cluster with an additional quota, you can select the Scalable Cluster plan and edit the spending limit on the cluster creation page. For more information, see [Create a TiDB Serverless cluster](/tidb-cloud/create-tidb-cluster-serverless.md).

After creating a TiDB Serverless cluster, you can still check and edit the spending limit on your cluster overview page. For more information, see [Manage Spending Limit for TiDB Serverless Clusters](/tidb-cloud/manage-serverless-spend-limit.md).
2 changes: 1 addition & 1 deletion tidb-cloud/tidb-cloud-console-auditing.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ The console audit logs record various user activities on the TiDB Cloud console
| BindSupportPlan | Bind a support plan |
| CancelSupportPlan | Cancel a support plan |
| UpdateOrganizationName | Update the organization name |
| SetSpendLimit | Edit the spending limit of a TiDB Serverless cluster |
| SetSpendLimit | Edit the spending limit of a TiDB Serverless scalable cluster |
| UpdateMaintenanceWindow | Modify maintenance window start time |
| DeferMaintenanceTask | Defer a maintenance task |
| CreateBranch | Create a TiDB Serverless branch |
Expand Down
2 changes: 1 addition & 1 deletion tidb-cloud/tidb-cloud-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ TiDB Cloud logs the following types of cluster events:
| ScaleChangefeed | Scale the specification of a changefeed |
| FailedChangefeed | Changefeed failures |
| ImportData | Import data to a cluster |
| UpdateSpendingLimit | Update spending limit of a TiDB Serverless cluster |
| UpdateSpendingLimit | Update spending limit of a TiDB Serverless scalable cluster |
| ResourceLimitation | Update resource limitation of a TiDB Serverless cluster |

For each event, the following information is logged:
Expand Down
2 changes: 1 addition & 1 deletion tidb-cloud/tidb-cloud-glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ A Request Unit (RU) is a unit of measure used to represent the amount of resourc

### Spending limit

Spending limit refers to the maximum amount of money that you are willing to spend on a particular workload in a month. It is a cost-control mechanism that enables you to set a budget for your TiDB Serverless clusters. For [scalable clusters](/tidb-cloud/select-cluster-tier.md#scalable-cluster-plan), the spending limit must be set to a minimum of $0.01. Also, the scalable cluster can have a free quota if it meets the qualifications. The scalable cluster with a free quota will consume the free quota first.
Spending limit refers to the maximum amount of money that you are willing to spend on a particular workload in a month. It is a cost-control mechanism that allows you to set a budget for your TiDB Serverless [Scalable clusters](/tidb-cloud/select-cluster-tier.md#scalable-cluster-plan). The spending limit must be set to a minimum of $0.01 or higher. Also, the Scalable cluster can have a free quota if it meets the qualifications. The Scalable cluster with a free quota will consume the free quota first.

## T

Expand Down

0 comments on commit 67b2f13

Please sign in to comment.