cockroach VS tidb

Compare cockroach vs tidb and see what are their differences.

cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement. (by cockroachdb)

tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications. (by pingcap)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cockroach tidb
113 32
30,865 38,384
0.6% 0.6%
10.0 9.9
about 17 hours ago 6 days ago
Go Go
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cockroach

Posts with mentions or reviews of cockroach. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-28.
  • Cloud-Native Architectures: Building Resilient Systems
    2 projects | dev.to | 28 Apr 2025
    Employ distributed databases like CockroachDB, Cassandra, or managed services like Amazon Aurora Global Databases.
  • Why You Shouldn’t Invest In Vector Databases?
    12 projects | dev.to | 24 Apr 2025
    In fact, even in the absence of these commercial databases, users can effortlessly install PostgreSQL and leverage its built-in pgvector functionality for vector search. PostgreSQL stands as the benchmark in the realm of open-source databases, offering comprehensive support across various domains of database management. It excels in transaction processing (e.g., CockroachDB), online analytics (e.g., DuckDB), stream processing (e.g., RisingWave), time series analysis (e.g., Timescale), spatial analysis (e.g., PostGIS), and more. For non-professional users seeking to explore vector databases, they can readily download the open-source PostgreSQL or utilize managed services like Supabase and Neon to establish their own basic AI applications. Other than PostgreSQL, several open-source databases, including OpenSearch, ClickHouse, and Cassandra, have implemented their own vector search functionality. You do not need to adopt a new vector database if you have already used these systems.
  • CockroachDB has changed their license, again
    1 project | news.ycombinator.com | 18 Mar 2025
  • RocksDB: Your Key-Value Store Powerhouse (and Why You Should Care)
    5 projects | dev.to | 16 Feb 2025
  • Outgrowing Postgres: Handling increased user concurrency
    13 projects | dev.to | 3 Feb 2025
    Postgres-compatible DSQL solutions: Distributed SQL databases that are either Postgres or Postgres-compatible like Citus, Aurora DSQL, and CockroachDB might be the right approach for handling your scale without forcing you to change much of your code. They each have their strengths and weaknesses and the right one for you depends on your use cases and needs.
  • 7 Databases in 7 Weeks for 2025
    10 projects | news.ycombinator.com | 5 Dec 2024
    Still very much "open-source": https://github.com/cockroachdb/cockroach

    But relicensed to the "CockroachDB Software License" as a form of BSL to prevent reselling.

  • CockroachDB License Change
    6 projects | news.ycombinator.com | 15 Aug 2024
    code in a given file is licensed under the BSL and ..." That is sucky.

    [0] https://github.com/cockroachdb/cockroach?tab=License-1-ov-fi...

  • List of 45 databases in the world
    27 projects | dev.to | 9 Jul 2024
    CockroachDB — Distributed SQL database built for cloud applications.
  • Which Database is Perfect for You? A Comprehensive Guide to MySQL, PostgreSQL, NoSQL, and More
    10 projects | dev.to | 26 Jun 2024
    CockroachDB is a distributed SQL database designed for cloud applications. It provides strong consistency, horizontal scalability, and high availability.
  • Round Rects Are Everywhere
    3 projects | news.ycombinator.com | 24 Jun 2024
    Round rectangles can look not round enough on low-DPI displays, and the colors can also be wrong due to incorrect averaging in non-linear color space. Example: https://github.com/ClickHouse/ClickHouse/pull/33453#issuecom...

    It is similar to how subtle gradients look striped and dirty on many websites if displayed with only 24-bit color: https://github.com/cockroachdb/cockroach/issues/91316

tidb

Posts with mentions or reviews of tidb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-16.

What are some alternatives?

When comparing cockroach and tidb you can also consider the following projects:

neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

vitess - Vitess is a database clustering system for horizontal scaling of MySQL.

InfluxDB - Scalable datastore for metrics, events, and real-time analytics

rqlite - The lightweight, user-friendly, distributed relational database built on SQLite.

oceanbase - OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Go is
the 4th most popular programming language
based on number of references?