| What it is | Scalable. Reliable. MySQL-compatible. Cloud-native. Database. | The world's fastest and most scalable cloud databases | Distributed SQL layer for sharding, read/write splitting and encryption on top of existing databases | Open source, MySQL-compatible distributed SQL database for transactions, analytics and vector search |
| Kind | Open source | SaaS | Open source | Open core |
| Trust | 0.82 | 0.73 | 0.79 | 0.79 |
| Stars | 21430 | — | 20836 | 40769 |
| Last commit | 2026-11-23 | — | 2026-11-24 | 2026-11-24 |
| Licence | Apache-2.0 | proprietary | Apache-2.0 | Apache-2.0 |
| Pricing | Free and open source | Paid, from $5/month | Free and open source | Free tier |
| Free tier | Yes | No | Yes | Yes |
| Self-hostable | Yes | No | Yes | Yes |
| Ways to run it | — | — | — | - TiDB Community (self-managed) (self-hosted, Apache-2.0): free
You arrange: servers or a Kubernetes cluster, upgrades, backups and monitoring, community support - TiDB Cloud: Starter free up to a monthly allowance, then usage-based; Essential from $400/month; Premium from $1,800/month; Dedicated from $1,376/month
|
| SOC 2 | — | Yes | — | Yes |
| HIPAA | — | Yes | — | — |
| SSO | — | Yes | — | — |
| API | — | Yes | — | — |
| Plugins | Yes | No | Yes | — |
| MCP server | — | Yes | — | — |
| Company | Cloud Native Computing Foundation non-profit | PlanetScale | Apache Software Foundation non-profit | PingCAP |
| Features | - MySQL protocol compatibility through the VTGate proxy
- transparent horizontal and vertical sharding; pluggable sharding schemes
- dynamic resharding and live data migrations with near-zero downtime
- online schema changes in the background
- connection pooling, query de-duplication and transaction management
- query rewriting, blocking and killing; table ACLs
- automatic detection and repair of primary failures; planned failover
- cross-shard materialized views and messaging
- All 10 features
| - managed Postgres
- Vitess (sharded MySQL)
- Neki (sharded Postgres)
- branching
- deploy requests
- revertable schema changes
- query insights
- read replicas
- All 13 features
| - data sharding across databases
- read/write splitting with load balancing
- distributed transactions (XA and BASE)
- transparent data encryption and masking
- query federation across data sources
- data migration while sharding
- ShardingSphere-JDBC driver for Java
- ShardingSphere-Proxy speaking MySQL and PostgreSQL protocols
- All 9 features
| - MySQL protocol and syntax compatibility with existing drivers, ORMs and tools
- distributed ACID transactions with two-phase commit
- horizontal and vertical scaling without downtime, compute and storage scaled separately
- Raft replication with automatic failover and configurable replica placement
- HTAP: TiKV row store plus TiFlash columnar replicas updated in real time
- vector search
- changefeeds for change data capture, data migration and disaster recovery tools
- deploy with TiUP on bare metal or TiDB Operator on Kubernetes
- All 9 features
|
| Limitations | | | | - A production self-managed cluster runs several components (TiDB, TiKV, PD and optionally TiFlash) across multiple nodes
- TiDB Cloud Essential and Premium are in public preview and charge a minimum capacity, with storage and other services billed on top
|