Vitess vs CockroachDB
CockroachDB: Distributed SQL database with automatic sharding and horizontal scaling for MySQL-compatible workflows

Scalable database clustering system for horizontal scaling of MySQL
Vitess is free to use. Vitess is a database clustering system for horizontal scaling of MySQL through generalized sharding. Softwr lists it under Databases. Vitess is made by CNCF / PlanetScale, launched in 2011, available on Linux, macOS, Self-hosted.
Overview
Vitess is an open-source database clustering system for scaling MySQL horizontally. It sits between applications and MySQL servers and provides built-in sharding, so an application can grow its database without adding shard-routing logic to its own code. According to the project site, it is compatible with MySQL while extending its scalability, and it improves performance through query rewriting, caching and connection pooling, which lets the number of concurrent client connections scale far beyond traditional MySQL. It detects and repairs primary failures automatically, and data migrations into Vitess and resharding operations within it are described as near-zero downtime. Schema changes run in the background without disrupting running workloads, with monitoring and fine-grained controls. Vitess also adds materialized views and messaging features that work across shards, and recent releases added support for recursive common table expressions as a step towards fuller MySQL compatibility. The project is a Cloud Native Computing Foundation graduated project, its source repository was created in 2013, and the code is licensed under Apache-2.0. There is no licence fee or paid tier from the project itself; costs are those of running the servers and the operational skill needed to run it, typically on Kubernetes. It is aimed at teams with large MySQL workloads that need to shard. It is MySQL-specific, so it does not suit teams on other database engines, and compatibility with MySQL is close but not complete.
The honest half
The limits buyers hit most with Vitess: VTGate scatter queries without sharding key incur significant performance penalties; and foreign key constraints not enforced across shards, requiring application-level integrity handling. Each is concrete and checkable: the half of a review a vendor will not write.
Cross-shopped
The closest alternatives to Vitess are CockroachDB, TiDB and PlanetScale. Each is a tool buyers genuinely weigh against it, with the reason why.
CockroachDB: Distributed SQL database with automatic sharding and horizontal scaling for MySQL-compatible workflows
TiDB: MySQL-compatible distributed database with automatic sharding and strong consistency guarantees
PlanetScale: Serverless MySQL platform built on Vitess technology, simplifying deployment and scaling
YugabyteDB: Distributed SQL database with horizontal scaling for teams that would rather replace MySQL than shard it.
SingleStore: MySQL wire-compatible distributed database for workloads that outgrow a single MySQL primary.
Amazon Aurora: Managed MySQL-compatible service with read scaling for teams that prefer a cloud service to operating sharding.
Pricing
Vitess is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.
Open source (Apache-2.0)
Free
Capabilities
Vitess lists 15 features, including horizontal Sharding, connection Pooling and query Routing.
Horizontal Sharding
Connection Pooling
Query Routing
Online Schema Changes
Shard Management
Replication Management
Automated Failover
MySQL
Integration with MySQL
Kubernetes
Integration with Kubernetes
Prometheus
Integration with Prometheus
Grafana
Integration with Grafana
PlanetScale
Integration with PlanetScale
Answered, with sources
Each answer names the page it came from, so you can check it rather than take our word for it.
Yes. Vitess is completely free and open source under the Apache 2.0 license. It is a graduated CNCF project with no licensing costs or pricing tiers.
SourceVitess supports MySQL and MariaDB as backend databases. It acts as a middleware layer that adds sharding and orchestration capabilities on top of these databases.
SourceNo. Vitess can run on Kubernetes using the Vitess Operator, but it can also be deployed on traditional infrastructure. Kubernetes integration is optional and provides additional automation benefits.
SourceVitess supports distributed transactions across shards, but they require queries to be routed through the sharding key. Transactions without a proper sharding key can result in slower performance.
SourceVitess does not enforce foreign key constraints across shards by default. Referential integrity must be managed at the application layer, though per-database support can be enabled with limitations.
SourceBehind it
Vitess is made by CNCF / PlanetScale, founded in 2010 and based in San Francisco, California.
Timeline
Checked against
The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.
Keep looking
MySQL and PostgreSQL-compatible relational database built for the cloud
Apache 2.0 distributed SQL database with MySQL wire compatibility and a separate columnar replica for analytical queries.
Open source distributed SQL database for cloud native apps
The real-time distributed SQL database for data-intensive applications
Database caching and optimization that reduces infrastructure costs 30-70%
Windows desktop relational database and application builder from Microsoft
Fast open-source column-oriented database for real-time analytics
Open-source message broker supporting AMQP and other protocols
Fully managed relational database service for MySQL, PostgreSQL, and SQL Server
The Meta-lineage distributed SQL query engine, distinct from the Trino fork
JMS message broker underpinning bank and telecom estates, now maintained rather than expanded
Erlang MQTT broker whose source is Apache 2.0 but whose official binaries need a paid subscription
Apache 2.0 platform for running many Postgres instances on Kubernetes, with copy-on-write branching and scale-to-zero.
Softwr does not host reviews and shows no star rating for Vitess, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.
What people switch to, and what they give up
Every tier, and where the cost actually lands
Put it head to head with anything we hold
Its rating, and an embed for your own site
Globally distributed relational database with strong consistency and up to 99.999% availability
usage-basedOpen source distributed wide-column store modelled on Bigtable, running on Hadoop
open-sourceDistributed NoSQL database for low-latency key-value, document, graph and vector workloads
freemiumWindows desktop relational database and application builder from Microsoft
subscriptionMulti-platform SQL client and database administration tool with a free open-source edition
open-source