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

CockroachDB vs MySQL comparison

 

Comparison Buyer's Guide

Executive Summary

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.7
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.5
Number of Reviews
147
Ranking in other categories
Open Source Databases (1st)
 

Mindshare comparison

As of January 2025, in the Relational Databases Tools category, the mindshare of CockroachDB is 3.1%, up from 2.4% compared to the previous year. The mindshare of MySQL is 8.4%, down from 9.2% 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.
Naresh Kumar - PeerSpot reviewer
Lightweight and is available at a friendly price
In terms of our organization's data management strategy, especially if I talk about PLM software, which is about data management and can be regarded as the core data management of the products that we make. When we are designing something, specifically a new product, it is a critical area, especially considering that I am in the energy sector. In the energy sector, when we are building huge turbines and other things, the data might have intellectual property aspects attached to it. Even within the company, one region cannot see other regions to the extent to which the product offers security. In my company, we use PDM and PLM from Teamcenter effectively. MySQL is not a tool my company uses in production. When we create some small demos, we use MySQL. For production, we would use only Oracle because it is the most stable tool in the market. When we install Teamcenter, we don't need to touch the database. We just need to make some references to figure out this is the database, and it automatically creates everything. The basic thing about PDM and PLM systems is that the user should never touch the database because people may corrupt the data model or do anything that will have a very bad impact on the system. Database modifications only have to be made to the PLM system. We are not supposed to interact with the database directly. The tool is very lightweight, less expensive, and sometimes it is free. It is a very usable tool that is preferred by a lot of people. Only for production use, I may ask people not to use it. Integration of MySQL is like how we don't directly integrate PLM with Oracle. We have to use PLM's APIs to talk to the database. As a part of the best practices, we should not directly integrate anything with the PLM database. Feature-wise, the integration capabilities of the product are easy to use. It is like any other tool where if there is a table, there is a property. If you want to map a property using any middleware, then we can easily do that. I recommend the product to others. For medium-sized companies, MySQL is one of the best solutions. Medium-sized companies can choose not to go for Oracle, which is very expensive. In terms of the value or benefits derived by our company from the use of the product, I would say that it is not very expensive and provides performance along with scalability. The product can cater to the needs of customers ranging from 2,00,000 to 6,00,000 to 10,00,000 records. Even 20,00,000 records are fine, but after that, users may get into trouble. It is the best tool for mid-sized companies with a reasonable amount of data. I rate the tool an eight out of ten.

Quotes from Members

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

Pros

"The tool's most valuable feature is node syncing, which takes only 0.54 milliseconds."
"CockroachDB is highly reliable."
"I use CockroachDB to test big data samples and to create the best structure for databases. We have four users and required 10 people for deployment and maintenance."
"The product has valuable security features."
"The most valuable features of the solution are its resiliency features and the geo-partitioning capabilities."
"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 initial setup and deployment are simple."
"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."
"I am totally satisfied with MySQL."
"I like the JSON stuff."
"It is easy to use. It is simple to implement, which makes it suitable for our projects because we have deadlines. MySQL is also open-source, which is another plus point."
"While MySQL offers strong basic functionality."
"MySQL is a popular database platform for businesses because it is extremely easy to use."
"The initial setup is easy."
"Support for enterprise-grade features like clustering, master-slave replication, even Sharding (to some extent) which is an advanced feature."
 

Cons

"I would like CockroachDB to have more compatibility with PostgreSQL, especially with the connection string and technical integrations."
"The initial setup and pricing could be improved."
"I find the serverless offer a bit confusing."
"Cockroach does not support all types of protocols. I need to improve it myself to support a CouchDB on my network."
"The platform could be more extensible."
"The product must improve its disaster recovery features."
"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."
"CockroachDB needs to improve store processes."
"​MySQL is not easily scalable on cost effective consumer grade hardware.​"
"If it had something similar to Microsoft’s DTS engine then it would be the best database system out there."
"There are some issues with compatibility with Java environments that need to be improved. When Oracle bought this solution there were some driver changes that caused some issues with operations."
"When working with a cluster wide, I have to use the MySQL cluster version."
"The only service which could be improved is its usability. The entire user experience needs to be revamped to meet the 2018 design standards."
"I would like to see some improvements in the solution’s integration aspects."
"The solution could improve by having better performance and security."
"In the next release, I would like to see the scalability features improved to allow you to configure it and reduce the complexity with the configuration, making it easier for the end-user to scale. Make it as simple as it can be."
 

Pricing and Cost Advice

"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 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."
"I've used CockroachDB at a small scale on the free accounts because we are only testing."
"I don't pay for a license."
"It is an open source platform."
"We are using the free community edition of MySQL."
"​Enterprise editions and support are definitely needed for the heavy users who need direct support. ​"
"MySQL is cheaper than Microsoft SQL Server."
"Can range from free to quite expensive, depending on the environments and requirements, so better to really set goals ahead of setting it up."
"The pricing is not much expensive, it's cheap."
"It is open source. We prefer it for POCs because it saves the license cost."
report
Use our free recommendation engine to learn which Relational Databases Tools solutions are best for your needs.
831,158 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
40%
Computer Software Company
14%
Retailer
5%
Manufacturing Company
4%
Computer Software Company
15%
Financial Services Firm
11%
Manufacturing Company
7%
Government
7%
 

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

 

Learn More

 

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: January 2025.
831,158 professionals have used our research since 2012.