| What it is | Open source, MySQL-compatible distributed SQL database for transactions, analytics and vector search | Scalable. Reliable. MySQL-compatible. Cloud-native. Database. | Always-on database with virtually unlimited scale | The world's most popular open source database |
| Kind | Open core | Open source | SaaS | Open core |
| Trust | 0.79 | 0.82 | 0.61 | 0.76 |
| Stars | 40769 | 21430 | — | 12518 |
| Last commit | 2026-11-24 | 2026-11-23 | — | 2026-11-13 |
| Licence | Apache-2.0 | Apache-2.0 | proprietary | GPL-2.0-only |
| Pricing | Free tier | Free and open source | Usage-based | Free and open source |
| Free tier | Yes | Yes | No | Yes |
| Self-hostable | Yes | Yes | 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
| — | — | - MySQL Community Edition (self-hosted, GPL-2.0-only): free
You arrange: servers or VMs, backups (mysqldump or a third-party tool) and restore tests, replication or InnoDB Cluster setup for failover, monitoring, security hardening, encryption and upgrades - MySQL Enterprise Edition (self-hosted, proprietary): subscription through the Oracle Store or MySQL sales; no price on mysql.com
You arrange: servers or VMs, an Oracle subscription for each server, replication and failover setup, upgrades - MySQL HeatWave: billed by usage; price lists for HeatWave on OCI and on AWS on Oracle's site
|
| SOC 2 | Yes | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | — | — | Yes | No |
| Plugins | — | Yes | — | Yes |
| MCP server | — | — | Yes | No |
| Company | PingCAP | Cloud Native Computing Foundation non-profit | Google public company (NASDAQ:GOOGL) | Oracle |
| 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
| - 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
| - automatic sharding with horizontal read and write scaling
- strong transactional consistency
- single-region, dual-region and multi-region configurations; up to 99.999% availability
- GoogleSQL and a PostgreSQL interface
- Spanner Graph, vector search and full-text search
- columnar engine for analytics on live data
- Data Boost: on-demand isolated compute for analytical queries
- federated queries and reverse ETL with BigQuery
- All 13 features
| - InnoDB transactional storage engine
- pluggable storage engines (InnoDB, NDB, MyISAM)
- replication and Group Replication
- InnoDB Cluster and MySQL Router
- transactional data dictionary with atomic DDL
- partitioning
- stored procedures, triggers and views
- Document Store (X Protocol, XDev API)
- All 11 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
| | | |