cockroach VS vitess

Compare cockroach vs vitess 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)

vitess

Vitess is a database clustering system for horizontal scaling of MySQL. (by vitessio)
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 vitess
114 65
30,980 19,654
0.6% 0.8%
10.0 9.9
3 days ago 5 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-06-13.

vitess

Posts with mentions or reviews of vitess. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-26.
  • Sharding Demystified
    2 projects | dev.to | 26 May 2025
    1 . Vitess (Sharding layer for MySQL)
  • Why uber ditched postgres for mysql: What every developer can learn from it
    4 projects | dev.to | 3 May 2025
    Vitess MySQL sharding at hyperscale. Used by YouTube, Slack, and more. Basically MySQL on steroids for distributed environments.
  • Hacking the Postgres Wire Protocol
    8 projects | news.ycombinator.com | 15 Apr 2025
    > I am wondering, why it took so long for something like this to happen for Postgres

    > We were thinking about adding PostgreSQL support to Vitess several years ago. However, we realized that it would be more efficient if each tool was focused on a specific task.

    https://github.com/vitessio/vitess/issues/7084#issuecomment-...

  • You Can Make Postgres Scale
    5 projects | news.ycombinator.com | 14 Mar 2025
    Apart from being backed by Postgres instead of MySQL, is this different from Vitess (and its commercial vendor PlanetScale)?

    https://vitess.io/

  • MySQL at Uber
    2 projects | news.ycombinator.com | 17 Feb 2025
    Never tried myself, but there is Vitess as well that should do what you ask - not sure about the limitations. https://vitess.io/
  • A MySQL compatible database engine written in pure Go
    10 projects | news.ycombinator.com | 9 Apr 2024
    With Vitess likely merging a lot of its binaries into a single unified binary: https://github.com/vitessio/vitess/issues/7471#issuecomment-...

    ... it would be a wild future if Vitess replaced the underlying MySQL engine with this as long as the performance is good enough.

  • The challenges of supporting foreign key constraints
    1 project | news.ycombinator.com | 5 Dec 2023
    Thank you for the compliment!

    We recently started adding support for CTEs in Vitess! You can check out https://github.com/vitessio/vitess/pull/14321 if you want to see some technical details of the implementation.

    For now, we have added preliminary support by converting them to derived tables internally, but we believe that we need to make CTEs first-class citizens themselves of query planning. Once we make that change, we can look towards supporting recursive CTEs.

    This however will take some time, but then, all good things do!

  • Vitess 18
    2 projects | news.ycombinator.com | 7 Nov 2023
    Why would it be a Google project? https://github.com/vitessio/vitess
  • PlanetScale Scaler Pro
    3 projects | news.ycombinator.com | 6 Jul 2023
    This is great news. I strolled around https://github.com/vitessio/vitess/issues/12967.

    Are there any public discussions of more trade-offs vitess has to make to enable fks?

  • What is the best database technology to use to create a new chat app today?
    1 project | /r/Database | 20 Jun 2023
    MySQL + Vitess I noticed Slack gets by using MySQL because they're using Vites. From Slack's post (https://slack.engineering/scaling-datastores-at-slack-with-vitess/) it seems like they choose Vites because it facilitated a smooth transition because it's built on top of MySQL.

What are some alternatives?

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

tidb - TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.

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

go-mysql-elasticsearch - Sync MySQL data into elasticsearch

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

citus - Distributed PostgreSQL as an extension

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?