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

CockroachDB vs IBM Db2 Database 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
IBM Db2 Database
Ranking in Relational Databases Tools
6th
Average Rating
8.2
Reviews Sentiment
6.8
Number of Reviews
73
Ranking in other categories
No ranking in other categories
 

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 IBM Db2 Database is 7.1%, up from 6.6% 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.
SimonHiggins - PeerSpot reviewer
Very scalable with high availability and excellent technical support
The good thing is that there are improvements coming with later function levels for the z/OS Db2. I'd like it if, with the operating system that we've got, z/OS, on the mainframe, it would allow us to refresh the hardware to run Linux dockers on the mainframe. This means this might give us opportunities for different ways of coming into the Db2 environment in the future. We just want a bit more integration with Linux. That said, we are already seeing Linux more readily available on the mainframe environment. Not only have we got the premium operating systems on OS. We can run LPARs on the same mainframe footprint that is also supporting Linux. This is what has improved and made the mainframe environment more competitive. We're also looking at AI for Db2 as well, and machine learning for the future. We know that AI has come out, that we're going to get that, and we're going to evaluate that product next year for Db2. That said, I haven't got any real complaints about Db2 on the mainframe. For the most part, a lot of the problems we have nowadays are to do with communication between the various teams that you would class as stakeholders.

Quotes from Members

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

Pros

"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 availability and the easy to use feature is the most valuable. The documentation is also good."
"The initial setup and deployment are simple."
"The tool's most valuable feature is node syncing, which takes only 0.54 milliseconds."
"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."
"CockroachDB is highly reliable."
"The most valuable feature is that CockroachDB is a distributed database, which can deploy nodes running in different regions."
"The product has valuable security features."
"It has a good, stable performance."
"it is very stable and runs smoothly once it is deployed and it is almost maintenance-free."
"The solution has very good data compression of up to 50%. For example, if you have 50 terabytes of data, it can be reduced to 25 terabytes."
"It's easy to search and extract data from the warehouse using queries."
"The most valuable features are with the industrial side."
"We are dealing with millions of transactions a month and the performance is very good."
"It's a very mature product."
"Db2's best features are that it's self-maintaining and self-monitoring, which means I have to view and monitor the database far less often."
 

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."
"CockroachDB needs to improve store processes."
"Cockroach does not support all types of protocols. I need to improve it myself to support a CouchDB on my network."
"The product must improve its disaster recovery features."
"I would like CockroachDB to have more compatibility with PostgreSQL, especially with the connection string and technical integrations."
"We are looking for more features to support distributed high availability and geo-partitioning."
"I find the serverless offer a bit confusing."
"The platform could be more extensible."
"The user interface is not user-friendly."
"The price should be lower."
"There could be better integration with some cloud solutions."
"The solution no longer supports POWER8."
"The only drawback that we see in Db2 Database is the crash recovery. When there is a crash and somebody has to do the recovery, Db2 Database first stops, and then it does any crash recovery. In Oracle Database, crash recovery happens within the database. The database is not shut down."
"Their view of it is they're maintaining it, they're continuing to upgrade it, they're continuing to grow it, however, they don't go out and try and sell that as an architectural solution the way they do Linux and Unix."
"I would say that the tool has to be made more cloud-friendly and should have agreements with AWS, Microsoft, or Google to run things on hyperscalers."
"Performance is something that can be improved with DB2."
 

Pricing and Cost Advice

"The platform is affordable even for the enterprise version. It provides value for investment in terms of performance."
"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 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."
"Among Microsoft SQL Server, Oracle, and Db2, Microsoft SQL Server is the cheapest one, and Oracle is the most expensive one. Db2 is in the middle. As compared to SQL Server, its price could go down. It will be good for customers."
"Compared to Oracle, it is so much cheaper."
"It's very expensive."
"We did not buy it. It came with our hardware without any complimentary maintenance. If I compare Db2 Database with Oracle Database, its price is lower than Oracle Database."
"Db2 is less expensive than Oracle."
"The solution costs less than other products."
"I rate the product pricing a nine out of ten."
"We normally handle large size businesses and as far as I am aware, the license is negotiable based on the number of users and the quantitative data."
report
Use our free recommendation engine to learn which Relational Databases Tools solutions are best for your needs.
845,564 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%
Educational Organization
61%
Financial Services Firm
8%
Computer Software Company
4%
Government
4%
 

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...
What do you like most about IBM Db2 Database?
Db2 database scalability and performance capabilities match our database needs. It covers pretty much everything a database administrator or engineer might need.
What is your experience regarding pricing and costs for IBM Db2 Database?
IBM Db2 is an expensive solution. While I am not heavily involved with pricing, additional companies provide capabilities or products like those from BMC, which many installations might also purchase.
What needs improvement with IBM Db2 Database?
The user interface is old and needs to be improved. It doesn't match the responsive and suggestion-rich UI of cloud solutions. New functions don't come to mind.
 

Comparisons

 

Also Known As

No data available
DB2
 

Overview

 

Sample Customers

Baidu, Kindred, Tierion, Heroic Labs, Gorgias
Knorr-Bremse, Mizuho Bank Ltd., Australian Government Department of Defence, SCHWENK Zement, Friedhelm Loh Group, YAZAKI Europe Limited, Ekornes ASA, Baldor Electric, VSN Systemen BV, Lion Brewery (Ceylon) PLC, PLANSEE Group, TE Connectivity, Hansgrohe SE, Openmatics, University of Toronto
Find out what your peers are saying about CockroachDB vs. IBM Db2 Database and other solutions. Updated: April 2025.
845,564 professionals have used our research since 2012.