TiDB Serverless works with almost all workloads that TiDB supports, but there are some feature differences between TiDB Self-Hosted or TiDB Dedicated clusters and TiDB Serverless clusters. This document describes the limitations of TiDB Serverless.
We are constantly filling in the feature gaps between TiDB Serverless and TiDB Dedicated. If you require these features or capabilities in the gap, use TiDB Dedicated or contact us for a feature request.
- Database audit logging is currently unavailable.
- Only Public Endpoint and Private Endpoint can be used. You cannot use VPC Peering to connect to TiDB Serverless clusters.
- No IP Access list support.
- Data persisted in your TiDB Serverless cluster is encrypted using the encryption tool provided by the cloud provider that manages your cluster. However, TiDB Serverless does not provide any additional optional measures for protecting data at-rest on disks beyond infrastructure-level encryption.
- Using customer-managed encryption keys (CMEK) is currently unavailable.
- Maintenance window is currently unavailable.
- Third-party Monitoring integrations are currently unavailable.
- Built-in Alerting is currently unavailable.
- Key Visualizer is currently unavailable.
- Index Insight is currently unavailable.
- TiDB Serverless is a fully managed deployment of TiDB. Major and minor version upgrades of TiDB Serverless are handled by TiDB Cloud and therefore cannot be initiated by users.
- Changefeed is not supported for TiDB Serverless currently.
- Data Migration is not supported for TiDB Serverless currently.
- Time to live (TTL) is currently unavailable.
- Transaction can not last longer than 30 minutes.
- For more details about SQL limitations, refer to Limited SQL Features.
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 for the usage.
For the first five TiDB Serverless clusters in your organization, TiDB Cloud provides a free usage quota for each of them as follows:
- Row-based storage: 5 GiB
- Request Units (RUs): 50 million RUs per month
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 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.
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.
After creating a TiDB Serverless, 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.