HTAP Summit 2024 session replays are now live!Access Session Replays

Request Unit

What is a Request Unit (RU)

A Request Unit (RU) is a unit of measure used to represent the amount of resources consumed by a single request to the database. The amount of RUs consumed by a request depends on various factors, such as the operation type or the amount of data being retrieved or modified. Currently, the RU will include statistics for the following resources:

Resource RU Consumption
Read 2 storage read batches consumes 1 RU
8 storage read requests consumes 1 RU
64 KiB read request payload consumes 1 RU
Write* 1 storage write batch consumes 1 RU
1 storage write request consumes 1 RU
1 KiB write request payload consumes 1 RU
SQL CPU 3 ms consumes 1 RU
Network Egress 1 KiB read consumes 1 RU

*Each write operation is duplicated to multiple storage processes (3 for row-based storage without index), and each duplicate is considered a distinct write operation.

*In addition to queries executed by users, RUs can be consumed by background tasks, such as automatic statistics gathering.

RU Pricing Detail

 

Provider

Region

Want to try TiDB Cloud in another region?
Contact Us

Request Units Price $0.1 per 1M RUs
Request Units Price $0.1 per 1M RUs
Request Units Price $0.12 per 1M RUs
Request Units Price $0.12 per 1M RUs
Request Units Price $0.12 per 1M RUs

Storage

The “row-based storage” refers to the storage space that stores data in a row-based format, whereas “columnar storage” denotes the storage technique that stores data by columns.

Row-based Storage & Columnar Storage Pricing Detail

 

Provider

Region

Want to try TiDB Cloud in another region?
Contact Us

Row-based Storage Price $0.2 per GiB-month
Columnar Storage Price $0.05 per GiB-month
Row-based Storage Price $0.2 per GiB-month
Columnar Storage Price
$0.05 per GiB-month
Row-based Storage Price $0.24 per GiB-month
Columnar Storage Price $0.06 per GiB-month
Row-based Storage Price $0.24 per GiB-month
Columnar Storage Price $0.06 per GiB-month
Row-based Storage Price $0.24 per GiB-month
Columnar Storage Price $0.06 per GiB-month

Cost and Limitations

Free Quota

We’re offering a free quota up to the first 5 clusters created in each Organization. If you need to create the 6th cluster, you need to create a Scalable Cluster. For this, you’ll be required to provide a credit card and set a Spending Limit. But if you delete some of your previous clusters before creating the 6th, the new cluster will still have a free quota. In other words, customers can enjoy the free quota for up to 5 clusters, whether it’s Free Cluster or Scalable Cluster.

Free Quota will be issued monthly to serverless clusters that meet these qualifications. With the free quota, customers can store 5 GiB of row-based data, 5 GiB of columnar data, and consume 50 million RUs for one month.

In total, each Organization can get 25 GiB of row storage, 25 GiB of column storage, and 250M Request Units (RUs) for free per month. Customers can take advantage of this offer and optimize your operations without worrying about initial costs.

Spending Limit

The “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, 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.

Note: It is impossible to set a spending limit value lower than the amount already spent for the current month.

Throttled

A Scalable cluster will not be throttled unless the spending limit is reached. Once the spending limit is reached, 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 remain active but will experience throttling.

If the free quota of a Free cluster is exhausted within the month, the cluster will automatically be throttled. This limit will remain in place until the customer upgrade it to Scalable cluster or until the next month.

In this way, customers can ensure basic business continuity without paying additional fees. At the same time, customers can adjust the spending limit according to their needs to control their usage and costs.

Billing Cycle

Each TiDB Cloud bill, corresponding to the previous month’s usage, is finalized at the start of every new month. This finalized bill is then charged to your default payment method, typically occurring between the 3rd and 9th day of the respective month. If your usage within the current month reaches or exceeds $250, an automatic charge will be initiated. Please note that the billing cycle operates strictly in accordance with the UTC (+00:00) time zone.

TiDB Cloud Quick Start

This tutorial guides you through an easy way to get started with your TiDB Cloud.

Learn More
FAQs

Check out TiDB Cloud Frequently Asked Questions

Learn More
Proof of Concept Guide

Proof of Concept (PoC) is the best way to run performance tests and evaluate workload efficiency on TiDB Cloud.

Learn More