#66th of 102 in Backends, databases and hosting

tidb

Distributed MySQL-compatible SQL database with row and columnar storage

Stars
40.7k
License
Apache-2.0
Last commit
Nov 2026
Last release
Sep 2026
Language
Go
Stars, last 29 weeks+1,009
21 Apr 2026: 39,721 stars28 Apr 2026: 39,770 stars5 May 2026: 39,796 stars12 May 2026: 39,845 stars19 May 2026: 39,880 stars26 May 2026: 39,916 stars2 Jun 2026: 39,945 stars9 Jun 2026: 39,973 stars16 Jun 2026: 40,005 stars23 Jun 2026: 40,035 stars30 Jun 2026: 40,079 stars7 Jul 2026: 40,114 stars14 Jul 2026: 40,154 stars21 Jul 2026: 40,194 stars28 Jul 2026: 40,227 stars4 Aug 2026: 40,265 stars11 Aug 2026: 40,309 stars18 Aug 2026: 40,344 stars25 Aug 2026: 40,376 stars1 Sept 2026: 40,398 stars8 Sept 2026: 40,430 stars15 Sept 2026: 40,464 stars22 Sept 2026: 40,511 stars29 Sept 2026: 40,552 stars6 Oct 2026: 40,580 stars13 Oct 2026: 40,605 stars20 Oct 2026: 40,632 stars27 Oct 2026: 40,664 stars3 Nov 2026: 40,697 stars10 Nov 2026: 40,730 stars

39,721 on 21 Apr 202640,730 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Before you pick it

  • Known advisory in latest version. 3 known advisories: github.com/pingcap/tidb v2.0.11+incompatible, the latest version. Source (opens in a new tab), checked .

Overview

TiDB is a distributed SQL database written in Go that speaks the MySQL 8.0 protocol and runs ACID transactions across nodes using two-phase commit and Raft replication. It separates compute from storage, with TiKV for rows and TiFlash for columns, so one cluster handles transactional and analytical queries. It deploys locally, on Kubernetes via TiDB Operator, or as the managed TiDB Cloud.

Who it is for: Teams needing a scalable MySQL-compatible database for OLTP and analytics

Ranked among open-source alternatives to Firebase (#6 of 10).

Strengths

  • MySQL 8.0 compatible, so existing drivers, ORMs and tools work with few changes
  • Raft replication with automated failover and configurable geographic replica placement
  • HTAP: TiKV row store plus TiFlash columnar replica in the same cluster
  • Compute and storage scale independently without downtime

Weaknesses

  • Full cluster has several components (TiDB, TiKV, PD, TiFlash), heavier than a single-node database
  • Not a full MySQL drop-in; the README points to a separate compatibility page
  • Vector search is linked only via TiDB Cloud docs, so self-hosted support is unclear
  • General database infrastructure, not an AI app starter

What it needs

  • no GPU
  • Docker
  • Needs TiKV, PD, TiFlash (optional)

Quick answers

Is tidb open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Can you run tidb with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100