Select Your Cluster Plan
The cluster plan determines the throughput and performance of your cluster.
TiDB Cloud provides the following options of cluster plans. Whether you are just getting started or scaling to meet the increasing application demands, these service plans provide the flexibility and capability you need. Before creating a cluster, you need to consider which option suits your need better.
TiDB Cloud Serverless
TiDB Cloud Serverless (now Starter) is a fully managed, multi-tenant TiDB offering. It delivers an instant, autoscaling MySQL-compatible database and offers a generous free quota and consumption based billing once free limits are exceeded.
The free cluster plan is ideal for those who are getting started with TiDB Cloud Starter. It provides developers and small teams with the following essential features:
- No cost: This plan is completely free, with no credit card required to get started.
- Storage: Provides an initial 5 GiB of row-based storage and 5 GiB of columnar storage.
- Request Units: Includes 50 million Request Units (RUs) for database operations.
Usage quota
For each organization in TiDB Cloud, you can create a maximum of five free TiDB Cloud Starter clusters by default. To create more TiDB Cloud Starter clusters, you need to add a credit card and specify a spending limit.
For the first five TiDB Cloud Starter clusters in your organization, whether they are free or scalable, TiDB Cloud provides a free usage quota for each of them as follows:
- Row-based storage: 5 GiB
- Columnar storage: 5 GiB
- Request Units (RUs): 50 million RUs per month
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.
Once a cluster reaches its usage quota, it immediately denies any new connection attempts until you increase the quota or the usage is reset upon the start of a new month. Existing connections established before reaching the quota will remain active but will experience throttling. For example, when the row-based storage of a cluster exceeds 5 GiB for a free cluster, the cluster automatically restricts any new connection attempts.
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 Cloud Starter Pricing Details.
TiDB Cloud Essential
For applications experiencing growing workloads and needing scalability in real time, the Essential cluster plan provides the flexibility and performance to keep pace with your business growth with the following features:
- Enhanced capabilities: includes all capabilities of the Starter plan, along with the capacity to handle larger and more complex workloads, as well as advanced security features.
- Automatic scaling: automatically adjusts storage and computing resources to efficiently meet changing workload demands.
- High availability: built-in fault tolerance and redundancy ensure your applications remain available and resilient, even during infrastructure failures.
- Predictable pricing: billed based on storage and Request Capacity Units (RCUs) of the compute resources, offering transparent, usage-based pricing that scales with your needs, so you only pay for what you use without surprises.
User name prefix
For each TiDB Cloud Starter or TiDB Cloud Essential cluster, TiDB Cloud generates a unique prefix to distinguish it from other clusters.
Whenever you use or set a database user name, you must include the prefix in the user name. For example, assume that the prefix of your cluster is 3pTAoNNegb47Uc8
.
To connect to your cluster:
mysql -u '3pTAoNNegb47Uc8.root' -h <host> -P 4000 -D test --ssl-mode=VERIFY_IDENTITY --ssl-ca=<CA_root_path> -pTo create a database user:
CREATE USER '3pTAoNNegb47Uc8.jeffrey';
To get the prefix for your cluster, take the following steps:
- Navigate to the Clusters page.
- Click the name of your target cluster to go to its overview page, and then click Connect in the upper-right corner. A connection dialog is displayed.
- In the dialog, get the prefix from the connection string.
TiDB Cloud Dedicated
TiDB Cloud Dedicated is for production use with the benefits of cross-zone high availability, horizontal scaling, and HTAP.
For TiDB Cloud Dedicated clusters, you can customize the cluster size of TiDB, TiKV, and TiFlash easily according to your business need. For each TiKV node and TiFlash node, the data on the node is replicated and distributed in different availability zones for high availability.
To create a TiDB Cloud Dedicated cluster, you need to add a payment method or apply for a Proof of Concept (PoC) trial.