Skip to content

Commit

Permalink
Update question about throttling
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoguang Sun <[email protected]>
  • Loading branch information
sunxiaoguang committed Jul 5, 2023
1 parent 757346f commit 174b396
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tidb-cloud/serverless-faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ RU consumptions can occur in various scenarios. One common scenario is during ba

A spike in RU usage can occur due to necessary background jobs in TiDB. These jobs, such as automatically analyzing tables and rebuilding statistics, are required for generating optimized query plans.

### What are the consequences when my cluster exhausts its free quota or exceeds its spending limit?

Once the free quota or spending limit of a cluster is reached, the cluster will enforce throttling measures on read and write operations. These operations will be limited until either 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).

## Security FAQs

### Is my TiDB Serverless shared or dedicated?
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 @@ -63,7 +63,7 @@ For the first five TiDB Serverless clusters in your organization, TiDB Cloud pro

The Request Unit (RU) is a unit of measurement used to track the resource consumption of a query or transaction. It is a metric that allows you to estimate the computational resources required to process a specific request in the database. The request unit is also the billing unit for TiDB Cloud Serverless service.

Once the free quota of a cluster is reached, the read and write operations on this cluster will be throttled until you [increase the quota](/tidb-cloud/manage-serverless-spend-limit.md#update-spend-limit) or the usage is reset upon the start of a new month. For example, when the storage of a cluster exceeds 5 GiB, the maximum size limit of a single transaction is reduced from 10 MiB to 1 MiB.
Once the free quota of a cluster is reached, the read and write operations on this cluster will be throttled until you [increase the quota](/tidb-cloud/manage-serverless-spend-limit.md#update-spend-limit) or the usage is reset upon the start of a new month.

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).

Expand Down

0 comments on commit 174b396

Please sign in to comment.