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 March 2025, in the Relational Databases Tools category, the mindshare of CockroachDB is 3.6%, up from 2.4% 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 product has valuable security features."
"The initial setup and deployment are simple."
"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 most valuable feature is that CockroachDB is a distributed database, which can deploy nodes running in different regions."
"The tool's most valuable feature is node syncing, which takes only 0.54 milliseconds."
"The availability and the easy to use feature is the most valuable. The documentation is also good."
"The subset of SQL that my client is using is completely supported."
"The product is flexible and easy to use."
"I am totally satisfied with MySQL."
"I like MySQL's feature that helps to automate things."
"It is a stable solution."
"However, it is easy to scale MySQL using the functions provided with the product."
"I use MySQL for employee service in an OLTP database."
"My main reason for using MySQL for this small customer database company and for some kinds of scientific projects was that I had to do the installation myself. I didn't have a database administration team behind me. Therefore, I was looking for something very easy to handle. MySQL is easy to install, connect, and do all such things."
"MySQL is easy to integrate. It works with just about every language."
 

Cons

"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 initial setup and pricing could be improved."
"The platform could be more extensible."
"We are looking for more features to support distributed high availability and geo-partitioning."
"I find the serverless offer a bit confusing."
"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."
"CockroachDB needs to improve store processes."
"I would like CockroachDB to have more compatibility with PostgreSQL, especially with the connection string and technical integrations."
"Scalability could be improved."
"When I run into issues, I really have to research how to fix them."
"I feel that some tools which make it easier to create queries or make it easier for other functions would be really interesting to see."
"It could be a little bit simpler to use."
"I would like to have the ability to cancel a query in SQL Developer."
"Improvements to MySQL depend on the specific use case. For example, in my scenario, I frequently need to maintain and store data, which can then be utilized to generate reports. On the other hand, others may suggest incorporating a feature that allows for easier visualization of the data, such as what is available in Power BI or other similar tools."
"We have encountered some performance issues, and the solution takes time for performing complex queries."
"While utilizing a comparable algorithm, is noted to be sensitive, especially when configuring the inner device."
 

Pricing and Cost Advice

"The platform is affordable even for the enterprise version. It provides value for investment in terms of performance."
"The pricing is good but can be made cheaper. I would rate the pricing a five out of ten."
"I've used CockroachDB at a small scale on the free accounts because we are only testing."
"The solution's pricing is not cheap. However, the good thing is that customers are willing to pay for it if they want it."
"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."
"For the on-premise version, no license is required."
"I would rate the solution’s pricing a six out of ten. The solution is not cheap but it’s a fair value. The pricing depends on the use cases of our customers. Some of our customers use the community edition which is license free and a good fit for their use cases. However, we encourage our bigger customers to sign up because of the scalability issues. The paid versions get direct technical support from Oracle."
"MySQL is a cheap solution."
"The price of the solution is good because we have a good partner."
"It's cheaper than other solutions."
"Can range from free to quite expensive, depending on the environments and requirements, so better to really set goals ahead of setting it up."
"It has a community version."
"It is free. It is an open-source platform."
report
Use our free recommendation engine to learn which Relational Databases Tools solutions are best for your needs.
842,194 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
38%
Computer Software Company
14%
Manufacturing Company
5%
Retailer
5%
Computer Software Company
15%
Financial Services Firm
11%
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: March 2025.
842,194 professionals have used our research since 2012.