Try our new research platform with insights from 80,000+ expert users

CockroachDB vs MySQL comparison

 

Comparison Buyer's Guide

Executive SummaryUpdated on Mar 4, 2025

Review summaries and opinions

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Categories and Ranking

CockroachDB
Ranking in Relational Databases Tools
12th
Average Rating
8.0
Reviews Sentiment
7.3
Number of Reviews
12
Ranking in other categories
No ranking in other categories
MySQL
Ranking in Relational Databases Tools
3rd
Average Rating
8.2
Reviews Sentiment
7.4
Number of Reviews
148
Ranking in other categories
Open Source Databases (1st)
 

Mindshare comparison

As of April 2025, in the Relational Databases Tools category, the mindshare of CockroachDB is 3.7%, up from 2.5% compared to the previous year. The mindshare of MySQL is 8.5%, down from 8.8% compared to the previous year. It is calculated based on PeerSpot user engagement data.
Relational Databases Tools
 

Featured Reviews

Antonio Tringali - PeerSpot reviewer
Open source with extensive documentation and a University for training
I am a freelancer. A client of mine wanted a solution that would allow them to scale yet not abandon the familiar PostgreSQL front-end (and rewrite a part of their source code). Scalability aside, CockroachDB is a fine way forward from PostgreSQL and is not changing the client source code part of the system. If you are lucky and you do not use newer features from recent versions of PostgreSQL or PostgreSQL extensions, it's fine. There are nice-to-have features for big organizations like regional tables. At the moment, my client simply does not use these. However, the serverless offer from CockroachDB is reacting well as data grows.
Muzzamil  Hussain - PeerSpot reviewer
Native encryption ensures secure data management with a simple deployment
The most valuable feature is the on-premises data encryption facilities. By default, we can provide encryption, and this feature in MySQL is why we prefer it over other databases. The native encryption in MySQL encourages us to use this database model more frequently compared to Oracle and other databases. With Oracle, we have to buy another solution for encryption and masking, but MySQL supports native encryption, which enhances our return on investment. It perfectly supports our ROI, and we have no issues with its functionality.

Quotes from Members

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Pros

"The best feature of CockroachDB is the ability to keep the nodes in different locations."
"The initial setup and deployment are simple."
"CockroachDB is highly reliable."
"What I like best is its ability to solve data residency issues. The main advantage is auto geo partitioning, built into the product. This means we don't have to spin up separate servers in each region, which would be much more costly."
"The availability and the easy to use feature is the most valuable. The documentation is also good."
"The tool's most valuable feature is node syncing, which takes only 0.54 milliseconds."
"The most valuable feature is that CockroachDB is a distributed database, which can deploy nodes running in different regions."
"The subset of SQL that my client is using is completely supported."
"It has a remote access feature to manage the database from a remote location. This enables in-work collaboration."
"The easy access to the data and the ability to sort the data with multiple methods are very valuable features."
"I find MySQL's relational data storage format very useful for data management. Our structure is well-defined and easy for end users and business stakeholders to read. I appreciate the tool's simplicity and ability to integrate with our backend tools."
"However, it is easy to scale MySQL using the functions provided with the product."
"It is a scalable solution."
"The feature that I have found most valuable is its ubiquity. MySQL is everywhere, so if I need to find a developer to do things to it that I don't know, it's very easy to find someone who has expertise in it."
"MySQL is a light database. It's not very complex. It's easy to develop, easy to maintain, and easy to back up and restore."
"The product is flexible and easy to use."
 

Cons

"I would like CockroachDB to have more compatibility with PostgreSQL, especially with the connection string and technical integrations."
"I find the serverless offer a bit confusing."
"The initial setup and pricing could be improved."
"CockroachDB needs to improve store processes."
"The closer they can make CockroachDB to being completely compatible with Postgres, the better. It's almost compatible, but not completely. If it was, it would be nice to just be able to use Postgres libraries without any fiddling."
"I think the engine itself could be improved. If you miss a partition key, it should be able to be modeled. This is where AI could be really helpful. For example, if a user is from Australia, the system should know to look for their data there first instead of searching in the US or another continent."
"The platform could be more extensible."
"Cockroach does not support all types of protocols. I need to improve it myself to support a CouchDB on my network."
"Rather than going in-depth about the technical features, which a technical person can directly tell, I would say that MySQL should be able to adapt to the next framework. The 5G framework means an unstructured framework. So if MySQL becomes smoother and more adaptable, it'll be easier."
"The GUI interface probably can be improved. Let us say I want to see the relationships in the database. In the query analyzer, I would like to go and drop the tables and create relationships between the tables. I haven't found a feature like that in MySQL. It was a shortcoming even in SQL Server. MySQL can have more performance monitoring tools. I know Google has these tools, but within MySQL, there are not that many tools to monitor things like performance and database locking. They might be in there, and I might not be familiar enough to know where they are. I am a pretty new user of MySQL."
"The manuals or documentation could be better."
"Some problems with big table operations, and a struggle to keep the servers responding in peak situations."
"I would like to see some improvements in the solution’s integration aspects."
"The data masking functionality should be improved as well as the native encryption functionality in the MySQL database."
"​MySQL is not easily scalable on cost effective consumer grade hardware.​"
"I would like to improve the solution’s pricing for licenses."
 

Pricing and Cost Advice

"I've used CockroachDB at a small scale on the free accounts because we are only testing."
"The pricing is good but can be made cheaper. I would rate the pricing a five out of ten."
"The product's price depends on the user's company and the contract model they enter into with CockroachDB. Depending on the contract model one enters into with CockroachDB, the product may or may not be expensive."
"The platform is affordable even for the enterprise version. It provides value for investment in terms of performance."
"The solution's pricing is not cheap. However, the good thing is that customers are willing to pay for it if they want it."
"I use a free version at present."
"MySQL is released under an open-source license, so you have nothing to pay to use it."
"I use the open-source free community version."
"MySQL Enterprise Support is not cheap, though might still be cheaper than Oracle or SQL Server. They may not have local support depending on where you’re based, but there are many smaller agencies out there that will readily provide support. You’ll need to spend some time looking around."
"It is free. It is an open-source platform."
"The tool is open source."
"It is an open source platform."
"​Enterprise editions and support are definitely needed for the heavy users who need direct support. ​"
report
Use our free recommendation engine to learn which Relational Databases Tools solutions are best for your needs.
847,772 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
37%
Computer Software Company
14%
Manufacturing Company
5%
Retailer
5%
Computer Software Company
16%
Financial Services Firm
12%
Manufacturing Company
7%
Government
6%
 

Company Size

By reviewers
Large Enterprise
Midsize Enterprise
Small Business
 

Questions from the Community

What do you like most about CockroachDB?
The subset of SQL that my client is using is completely supported.
What needs improvement with CockroachDB?
I would like CockroachDB to have more compatibility with PostgreSQL, especially with the connection string and technical integrations.
What is your primary use case for CockroachDB?
I am studying how to deploy CockroachDB and YugaByteDB, and learning some basic information about them. I am testing these databases as part of my school application to find a suitable database for...
Why are MySQL connections encrypted and what is the biggest benefit of this?
MySQL encrypts connections to protect your data and the biggest benefit from this is that nobody can corrupt it. If you move information over a network without encryption, you are endangering it, m...
Considering that there is a free version of MySQL, would you invest in one of the paid editions?
I may be considered a MySQL veteran since I have been using it since before Oracle bought it and created paid versions. So back in my day, it was all free, it was open-source and the best among sim...
What is one thing you would improve with MySQL?
One thing I would improve related to MySQL is not within the product itself, but with the guides to it. Before, when it was free, everyone was on their own, seeking tutorials and how-to videos onli...
 

Comparisons

 

Overview

 

Sample Customers

Baidu, Kindred, Tierion, Heroic Labs, Gorgias
Facebook, Tumblr, Scholastic, MTV Networks, Wikipedia, Verizon Wireless, Sage Group, Glassfish Open Message Queue, and RightNow Technologies.
Find out what your peers are saying about CockroachDB vs. MySQL and other solutions. Updated: April 2025.
847,772 professionals have used our research since 2012.