Hacker ApprovedDepartments

TiDB

Ranked 6 of 9 distributed databases by recommenders

Open-source, MySQL-compatible distributed database people pick for scale, ACID transactions and fault tolerance; the most common caveat is a 2026 data leak and the company's response.

Open-source, MySQL-compatible distributed database people pick for scale, ACID transactions and fault tolerance; the most common caveat is a 2026 data leak and the company's response.

22 people gave an opinion

recommend it
11
criticize it
11
approval share
50%
Each figure is one person. RecommendsCriticizes

Recommended in 8 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 11 people recommend itNeeds 10 or more, met.
  • 1 recommender for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 8 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • MySQL compatible

    “like TiDB or Aurora on AWS for MySQL compat”

    Comment from 30 Jun 2026 in “Looking Ahead to Postgres 19”

    “for apps that expect MySQL probalby TiDB”

    Comment from 8 Jan 2026 in “Ask HN: What will you pick as your database of 2026 Yugabyte, TiDB or SurrealDB?”

    “All open source and MySQL compatible.”

    Comment from 4 Feb 2026 in “AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines”
  • Fault tolerance and ACID transactions

    “they all give you fault tolerance for free without much involvement from your side”

    Comment from 1 May 2026 in “Does Postgres Scale?”

    “TiDB handles millions of QPS while delivering ACID transactions”

    Comment from 24 Nov 2025 in “Building the largest known Kubernetes cluster”

What people warn about

Each mark is one comment

Other distributed databases people recommend

The four most recommended other distributed databases, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

TiDB compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
FoundationDB26681%9—Approved
Google Cloud Spanner23292%9—Approved
CockroachDB191163%11——
rqlite13476%5—Approved
TiDBThis page111150%8——
See all 9 distributed databases, ranked

What people said

20 of the 25 comments that mention it, newest first. Each links to the original comment.

“they didn't LOSE data, in fact, now they have free global replicas of the data!”

CriticizesComment from 22 Oct 2026 in “PingCap TiDB Leaks”

“This level of apathy and incompetence makes them an accomplice.”

CriticizesComment from 22 Oct 2026 in “PingCap TiDB Leaks”

“They have the fucking data in a tarball and Pingcap claims no data was impacted.”

CriticizesComment from 22 Oct 2026 in “PingCap TiDB Leaks”

“Certainly there was no evidence; they likely have no logging anyway!”

CriticizesComment from 22 Oct 2026 in “PingCap TiDB Leaks”

“I find it really baffling how much they are downplaying this incident on their statement.”

CriticizesComment from 22 Oct 2026 in “PingCap TiDB Leaks”

“they leaked full connection strings for customer databases with users and passwords”

CriticizesComment from 21 Oct 2026 in “PingCap TiDB Leaks”

“It looks like you can assess the hell out of your source code, but your system can still leak if you don't secure your operations.”

CriticizesComment from 21 Oct 2026 in “PingCap TiDB Leaks”

“Not even data race safe then. NGMI.”

CriticizesComment from 21 Oct 2026 in “PingCap TiDB Leaks”

“Coming this close on the heels of the security audit by NCC is pretty embarassing for all parties.”

CriticizesComment from 21 Oct 2026 in “PingCap TiDB Leaks”

“Distributed and MySQL compatible”

RecommendsComment from 11 Sep 2026 in “Neki – Sharded Postgres”

“like TiDB or Aurora on AWS for MySQL compat”

RecommendsComment from 30 Jun 2026 in “Looking Ahead to Postgres 19”

“they all give you fault tolerance for free without much involvement from your side”

RecommendsComment from 1 May 2026 in “Does Postgres Scale?”

“which all come with various downsides.”

MixedComment from 6 Feb 2026 in “It's 2026, Just Use Postgres”

“All open source and MySQL compatible.”

RecommendsComment from 4 Feb 2026 in “AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines”

“It has support for columnar data alongside row based data.”

RecommendsComment from 3 Feb 2026 in “AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines”

“we then tried tidb to go further but it was basically rather slow”

CriticizesComment from 23 Jan 2026 in “Scaling PostgreSQL to power 800M ChatGPT users”

“Underlying lsm works better for writes”

RecommendsComment from 22 Jan 2026 in “Scaling PostgreSQL to power 800M ChatGPT users”

“for apps that expect MySQL probalby TiDB”

RecommendsComment from 8 Jan 2026 in “Ask HN: What will you pick as your database of 2026 Yugabyte, TiDB or SurrealDB?”

“If you use kine+cockroachdb or tidb you can go even higher”

MixedComment from 25 Nov 2025 in “Building the largest known Kubernetes cluster”

“TiDB handles millions of QPS while delivering ACID transactions”

RecommendsComment from 24 Nov 2025 in “Building the largest known Kubernetes cluster”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.