talira

Compare

TiDBVitessGoogle Cloud SpannerMySQL
What it isOpen source, MySQL-compatible distributed SQL database for transactions, analytics and vector searchScalable. Reliable. MySQL-compatible. Cloud-native. Database.Always-on database with virtually unlimited scaleThe world's most popular open source database
KindOpen coreOpen sourceSaaSOpen core
Trust0.790.820.610.76
Stars4076921430—12518
Last commit2026-11-242026-11-23—2026-11-13
LicenceApache-2.0Apache-2.0proprietaryGPL-2.0-only
PricingFree tierFree and open sourceUsage-basedFree and open source
Free tierYesYesNoYes
Self-hostableYesYesYesYes
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 2Yes———
HIPAA————
SSO————
API——YesNo
Plugins—Yes—Yes
MCP server——YesNo
CompanyPingCAPCloud 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