Time Series Database (TSDB) enforces per-instance resource limits to protect service stability. Review the limits for your instance type before running queries to avoid errors. If your workload exceeds the limits for your current instance type, upgrade the instance type in the TSDB console.
Instance type limits
The highest instance type currently available is Ultimate Edition II. To request a larger instance type, submit a ticket.
Query limits by instance type
Each time series query can contain multiple subqueries to run batch queries against the database.
The following table lists the query limits for each instance type.
| Instance type | Max tags per timeline | Max timelines per subquery (×10,000) | Max data points scanned per subquery (×10,000) | Max data points returned per subquery (×10,000) | Max QPS |
|---|---|---|---|---|---|
| Basic Edition I | 16 | 10 | 700 | 15 | 200 |
| Basic Edition II | 20 | 15 | 700 | 20 | 1,000 |
| Basic Edition III | 20 | 20 | 700 | 20 | 1,200 |
| Standard Edition I | 20 | 80 | 2,000 | 80 | 4,000 |
| Standard Edition II | 24 | 120 | 4,000 | 160 | 8,000 |
| Ultimate Edition I | 24 | 160 | 6,000 | 180 | 24,000 |
| Ultimate Edition II | 24 | 200 | 8,000 | 200 | 50,000 |
Column definitions:
Max tags per timeline: The maximum number of tags allowed on a single timeline.
Max timelines per subquery: The total number of timelines matched by a subquery at the engine layer.
Max data points scanned per subquery: The total number of data points scanned and processed by a subquery at the storage layer.
Max data points returned per subquery: The number of data points returned to the application layer after time series aggregation.
Max QPS: Queries per second (QPS) benchmark based on scanning one timeline—with a single tag and data reported every 10 seconds—over a 5-minute time range.
Behavior when a limit is exceeded
If any subquery in a query exceeds the limits for your instance type, the entire query fails and an error is returned to the application layer. To resolve this, modify the query conditions to reduce scope, or upgrade the instance type in the TSDB console.