TiDB Cloud
Fully managed MySQL-compatible distributed SQL database with built-in horizontal scaling, HTAP workloads, and vector search capabilities.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
TLS enforced for serverless; HMAC API auth; private key must be secured
⚡ Reliability
Best When
MySQL workloads that have outgrown single-node scaling or need real-time analytics on fresh OLTP data.
Avoid When
Your application uses PostgreSQL-specific features — use Aurora PostgreSQL or Neon instead.
Use Cases
- • Run MySQL workloads with automatic horizontal sharding beyond single-server limits
- • Execute HTAP queries — run analytical SQL on fresh OLTP data without ETL pipelines
- • Store and query vector embeddings alongside relational data for AI applications
- • Scale from 0 with serverless mode that auto-suspends to zero cost when idle
- • Connect standard MySQL clients (mysql2, psycopg2 via MySQL driver) without driver changes
Not For
- • Simple single-server OLTP applications that don't need distributed scaling
- • PostgreSQL-native features (JSONB, PostGIS, PL/pgSQL) — MySQL compatibility only
- • Self-hosted on-premises deployments — TiDB Cloud is managed only
Interface
Authentication
TiDB Cloud API uses public/private key pair for HMAC authentication; database connections use MySQL protocol with username/password
Pricing
Serverless free tier is generous for development; dedicated clusters for production
Agent Metadata
Known Gotchas
- ⚠ Serverless cluster auto-suspends after 5 minutes of inactivity — first connection after suspend has 2-5s cold start
- ⚠ HTAP TiFlash replicas must be manually enabled per table — analytical queries without it fall back to slower TiKV
- ⚠ Vector search (TiDB AI) requires specific index syntax different from pgvector — not a drop-in replacement
- ⚠ Connection string format differs between Serverless (TLS required, port 4000) and Dedicated clusters
- ⚠ HMAC authentication for Management API requires computing signature per request — standard HTTP auth clients won't work out of the box
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for TiDB Cloud.
Scores are editorial opinions as of 2026-03-06.