pingcap/tidb
View on GitHub ↗ ★ 40,700 Go
TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.
69 mentions on Hacker News by 46 people: 13 stories, 56 comments · first 2015-09-07 · latest 2026-10-21
20082026
-
https://github.com/pingcap/tidb reports as 95% Go with no Rust at all?
comment by boorbat · 2026-10-21 · in PingCap TiDB Leaks -
…- Redis/ValKey compatible distributed database with disk persistence via RockDB. https://github.com/pingcap/tidb - MySQL compatible distributed database. Mentioned elsewhere in this thread. https://github.com/tikv/tikv - Distributed, trans
comment by nbf_1995 · 2025-07-01 · in Show HN: ToplingDB - A Persistent Key-Value Store for External Storage -
…Geographic placement of replicas can be configured for different disaster tolerance levels. See https://github.com/pingcap/tidb?tab=readme-ov-file#key-featu... Correctness has been a focus for a long time for TiDB, including working on…
comment by travem · 2025-01-07 · in TiDB – cloud-native, distributed SQL database written in Go -
…should read through not just this but other currently-open correctness-related Github issues: e.g., https://github.com/pingcap/tidb/issues?q=is%3Aissue%20state%... TiDB currently has 74 open issues related to "correctness," and has closed…
comment by PeterCorless · 2025-01-07 · in TiDB – cloud-native, distributed SQL database written in Go -
…style https://github.com/kubernetes/kubernetes/blob/master/pkg/con... - TIDB uses 2-block style https://github.com/pingcap/tidb/blob/master/pkg/ddl/placemen... - MinIO uses 2-block https://github.com/minio/minio/blob/master/internal/grid/co…
comment by cybrexalpha · 2024-08-12 · in Go is my hammer, and everything is a nail -
tidb has been around for a while, it is distributed, written in Go and Rust, and MySQL compatible. https://github.com/pingcap/tidb Somewhat relatedly, StarRocks is also MySQL compatible, written in Java and C++, but it's tackling OLAP…
comment by didip · 2024-04-09 · in A MySQL compatible database engine written in pure Go -
It's MySQL-Compatible database for scale and real-time analytics https://github.com/pingcap/tidb
comment by Hooopo · 2023-10-25 · in Show HN: GitHub Organization Analytics -
…users today, there are modern cloud-native replacement solutions, such as tidb(tidbcloud.com), where tidb (github.com/pingcap/tidb) provides a MySQL-compatible syntax layer but it's not MySQL. Interests: I work at TiDB
comment by c4pt0r · 2023-05-12 · in Ask HN: It's 2023, how do you choose between MySQL and Postgres? -
…| Remote in California | Full-time We work on a MySQL compatible distributed database called TiDB https://github.com/pingcap/tidb/ and key-value store called TiKV. TiDB is written in Go and TiKV is written in Rust. More roles and locations…
comment by dveeden2 · 2023-01-02 · in Ask HN: Who is hiring? (January 2023) -
Isn't TiDB built on top of TiKV?[0] [0]: https://github.com/pingcap/tidb
comment by c0balt · 2022-10-07 · in Apache Pegasus - A horizontally scalable, high-performance key-value store -
…ps://www.snowflake.com/workloads/unistore/ ), and one of the most popular open source projects TiDB ( https://github.com/pingcap/tidb ) which have been deployed by many business applications. Hopefully these may help a little bit :-)
comment by jerryjerryjerry · 2022-07-16 · in What is your experience with mixed workload (OLTP and OLAP) databases? -
…with some options of this blog. As the maintainer of the open source distributed database TiDB https://github.com/pingcap/tidb , we also face the same problem of choice. We have a community version, an enterprise version(of course, we must…
comment by siddontang · 2022-07-14 -
…in 2022. Distributed RDBMS is already a thing, used in production, in many companies. Like TiDB( https://github.com/pingcap/tidb ) mentioned in the article, Square already uses it to replace some MySQL's use cases (…
comment by azurezyq · 2022-07-10 · in I Don't Want to Shard (MySQL) -
…and think it has a lot of merit. But there are also https://www.cockroachlabs.com/product/ , https://github.com/pingcap/tidb and https://ydb.tech/ which each has promise. There is definitely lots of progress to make in this space. From…
comment by kevincox · 2022-07-04 · in We are splitting our database into Main and CI -
…Activity feature is a little slow. I experienced the "Try Gitea" service and migrated our TiDB repo https://github.com/pingcap/tidb to it. When I clicked the Activity tab and selected "1 year" period, I found the page loading was so slow,…
comment by siddontang · 2022-06-05 · in Gitea – a painless self-hosted Git service -
…) I have been thinking about this problem with my peers when I started to build TiDB ( https://github.com/pingcap/tidb ) seven years ago. At that time, nearly all of us were familiar with Go language, so we decided to use Go to build the…
comment by siddontang · 2022-05-28 -
…[1] https://fly.io/blog/globally-distributed-postgres/ [2] https://github.com/tikv/tikv [3] https://github.com/pingcap/tidb
comment by nextaccountic · 2022-01-22 · in Free Postgres databases for small projects -
Another Chinese database seems to be doing a better job at this front: https://github.com/pingcap/tidb
comment by azurezyq · 2021-06-01 · in Oceanbase, yet another open source HTAP database -
…For CTEs, stay tuned for the next release (TiDB 5.0) or perhaps track this github issue: https://github.com/pingcap/tidb/issues/17472
comment by gregwebs · 2020-08-29 · in We Chose a Distributed SQL Database to Complement MySQL -
Shameless plug: You might be interested in TiDB ( https://github.com/pingcap/tidb ), an open-source distributed HTAP database. - For OLTP workload and some ad-hoc queries, you can use TiDB + TiKV. One of our adopters has a production…
comment by mountainview · 2020-04-03 · in PostgreSQL is the worlds’ best database -
…the deployment and rolling upgrade for on-prem users; B. We built and open-sourced TiDB Operator ( https://github.com/pingcap/tidb-operator ) to enable TiDB on Kubernetes. We are working on a fully managed service in the public cloud…
comment by dongxu · 2019-12-25 · in How We Achieved 40K QPS and 20B Rows of Data in a Single Scale-Out Cluster -
This is a demo site to show how you can use TiDB-Wasm to run TiDB SQL statements your browser. https://github.com/pingcap/tidb/pull/13069 Known Limitations: - TiDB-Wasm includes TiDB server only. TiDB is the stateless MySQL component of…
comment by jinqueeny · 2019-11-07 · in Show HN: TiDB Playground, writing SQL in a Golang Database in WebAssembly -
More details can be found here: https://github.com/pingcap/tidb/pull/13069
comment by ngaut · 2019-11-05 · in An open source database playground by compiling Go to WebAssembly -
TiDB is Apache 2.0 licensed, but it is MySQL compatible and features horizontal scalability. https://github.com/pingcap/tidb
comment by l2dy · 2019-10-28 · in Ask HN: What products or services do you wish existed for your startup? -
…scale-out MySQL that supports both multiple writes and multiple reads, feel free to give TiDB ( https://github.com/pingcap/tidb ) a try.
comment by jinqueeny · 2019-08-09 · in Build Highly Available MySQL Applications Using Amazon Aurora Multi-Master -
…to be simple capitalism at play -- nobody wants to pay the Oracle tax if they can avoid it. [1] https://github.com/pingcap/tidb
comment by 9nGQluzmnq3M · 2019-06-25 · in China’s Biggest Startups Ditch Oracle and IBM for Home-Made Tech -
…into anything like this again, please open up a new issue and we'll be happy to take a look!" [1] https://github.com/pingcap/tidb/issues/2742
comment by tepidandroid · 2019-06-12 · in PingCAP Talent Plan: Courses on writing distributed systems in Go and Rust -
Rust core dev Brian Anderson joined Pingcap, a Chinese company created TiDB https://github.com/pingcap/tidb
comment by decster · 2019-05-27 · in Chinese developers fear the tech war will cost them access to GitHub -
Update: The documentation has now been updated https://github.com/pingcap/tidb/pull/9144
comment by morgo · 2019-01-22 · in TiDB open sources its MySQL/MariaDB compatible data migration tool -
…for both OLTP (Online Transactional Processing) and OLAP (Online Analytical Processing) workloads. https://github.com/pingcap/tidb
comment by blakesterz · 2019-01-22 · in TiDB open sources its MySQL/MariaDB compatible data migration tool -
…share your sentiment, and at the moment you can probably best track or progress on this issue here: https://github.com/pingcap/tidb/issues/8484 The explanation is just that TiDB is being developed with tight feedback from our customers…
comment by gregwebs · 2018-12-04 · in TiDB 2.1 GA: Battle-Tested to Handle an Unpredictable World -
So many implementations of this out there already, like tidb. https://github.com/pingcap/tidb So yes i can believe it!
comment by dana321 · 2018-11-30 · in Why the RDBMS is the future of distributed databases -
And distributed database: https://github.com/pingcap/tidb
comment by ngaut · 2018-08-04 · in Go 1.11 Beta 3 is released -
TiDB is a distributed HTAP database compatible with the MySQL protocol( https://github.com/pingcap/tidb )
comment by ngaut · 2018-07-02 · in Ask HN: What highly scalable thing have you built with Go? -
…by 451 Research - Translytical, by Forrester If that's the solution you want to explore, TiDB ( https://github.com/pingcap/tidb ), the open source distributed scalable HTAP database, might be able to help you. ETL is no longer necessary…
comment by jinqueeny · 2018-07-02 · in How to make MongoDB not suck for analytics -
…a bit more about CockroachDB, which consciously does some things differently from Postgres. [1] https://github.com/pingcap/tidb/issues/2712
comment by elvinyung · 2018-06-20 · in MySQL High Availability at GitHub -
…are exposed and quicker to get a fix or workaround. If you are open to trying other options, TiDB ( https://github.com/pingcap/tidb ) is also a good choice. A use case is just published on Datanami today:…
comment by qiuyesuifeng · 2018-02-23 · in CockroachDB Interactive, D3-Powered Simulations -
TiDB seems to have a pretty active community, judging by its repo ( https://github.com/pingcap/tidb ). Also, saw this thread on TiDB v MySQL recently that's pretty detailed ( https://www.quora.com/How-does-TiDB-compare-with-MySQL ). Looks…
comment by ceohockey60 · 2018-02-16 · in MongoDB gets support for multi-document ACID transactions -
…due to growing BI query complexity and it’s been hard to fix this. Maybe they should try TiDB( https://github.com/pingcap/tidb ). It is a MySQL drop-in replacement that scales.
comment by shenli3514 · 2018-02-14 · in What I wish I knew when I became CTO -
Another good candidate is TiDB ( https://github.com/pingcap/tidb ). It has elastic scalability, ACID compliances, high availability, etc. At least, TiDB, CRDB, RethinkDB are open source :)
comment by jinqueeny · 2017-12-06 · in “Follow-The-Workload” Beats the Latency-Survivability Tradeoff in CockroachDB -
TiDB and CockroachDB also support distributed transactions. The transaction model in TiDB ( https://github.com/pingcap/tidb ) is inspired by Google Percolator, It’s mainly a two-phase commit protocol with some optimizations. More info on…
comment by jinqueeny · 2017-11-23 · in How Citus Executes Distributed Transactions on Postgres -
Another great NewSQL database, TiDB, is production ready: https://github.com/pingcap/tidb
comment by jinqueeny · 2017-10-18 · in Kindred and CockroachDB Partner to Build a Global Online Gaming Platform -
Wow! Congratulations! For those who want to check it out: https://github.com/pingcap/tidb
comment by jinqueeny · 2017-10-18 · in Show HN: TiDB 1.0 is production ready -
Are you referring to this? https://github.com/pingcap/tidb/issues/2742 They misunderstood your bug report, but they certainly didn't tell you to "go f* yourself". In fact, someone later relabeled the ticket as a compatibility issue with…
comment by graciouspants · 2017-10-12 · in CockroachDB 1.1 Released: Production Made Easy -
…choices out there, Google Spanner, Cockroachdb( https://github.com/cockroachdb/cockroach ), TiDB ( https://github.com/pingcap/tidb ). All of them are very easy to scale while maintaining the ACID transactions.
comment by jinqueeny · 2017-09-26 · in Why SQL is beating NoSQL, and what this means for the future of data -
…there. TiDB, CockroachDB, Spanner, just to name a few. Besides, the first two are open source... https://github.com/pingcap/tidb https://github.com/cockroachdb/cockroach They provide the features of both RDBMS, such as ACID transactions,…
comment by jinqueeny · 2017-09-22 · in MongoDB has filed to go public -
There is also TiDB https://github.com/pingcap/tidb/blob/master/README.md
comment by aliasaria · 2017-05-15 · in Spanner: Becoming a SQL System [pdf] -
…be interested in any comparisons of CockroachDB vs TIDB[1], especially when it comes to speed. 1 - https://github.com/pingcap/tidb
comment by AsyncAwait · 2017-02-16 · in CockroachDB beta-20161013 -
…are open-source newSQL databases inspired by Spanner and F1. 1 - https://www.cockroachlabs.com 2 - https://github.com/pingcap/tidb
comment by AsyncAwait · 2017-02-14 · in Introducing Cloud Spanner, a Global Database Service -
Here is two examples about how to use TiKV's KV API: https://github.com/pingcap/tidb/blob/master/cmd/benchkv/main... https://github.com/pingcap/tidb/blob/master/cmd/benchraw/mai...
comment by shenli3514 · 2017-01-22 · in Distributed SQL database (TiDB) source code explained