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

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

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 IBM Db2 Database is 7.0%, up from 6.5% 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

"The tool's most valuable feature is node syncing, which takes only 0.54 milliseconds."
"The initial setup and deployment are simple."
"The most valuable feature is that CockroachDB is a distributed database, which can deploy nodes running in different regions."
"The availability and the easy to use feature is the most valuable. The documentation is also good."
"The most valuable features of the solution are its resiliency features and the geo-partitioning capabilities."
"The best feature of CockroachDB is the ability to keep the nodes in different locations."
"The product has valuable security features."
"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."
"It is a scalable solution."
"It's easy to search and extract data from the warehouse using queries."
"The most valuable feature of the IBM Db2 Database is security."
"It has a good, stable performance."
"The initial setup was easy."
"​Scales well enough for a relational database."
"The performance of the solution is valuable."
"Some of the most valuable features are the scaling from a small very cheap installation to a very large enterprise installation. In addition, the backups and assistance are good."
 

Cons

"We are looking for more features to support distributed high availability and geo-partitioning."
"CockroachDB needs to improve store processes."
"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 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."
"The product must improve its disaster recovery features."
"The technical support can be faster."
"In terms of improvements, IBM Db2 can improve its interface and its functionality. Also, the embedded functions should be much richer than the current ones - the functions which are embedded in the engine itself."
"The initial setup could be improved."
"IBM Db2 Database could improve in the steps it takes for upgrades. It is not an easy process. The process of upgrading the version is lengthy and requires a lot of time. To make it more efficient, I suggest implementing some automation on the solution side. This will greatly reduce the time required for the upgrade."
"IBM's support isn't as strong as it used to be, especially when it comes to providing fixes."
"The backup solution lacks flexibility."
"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."
"Db2 interface could be improved a bit. Comparing it to Oracle, Db2's interfaces could be improved."
 

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 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 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 solution costs less than other products."
"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."
"The solution's pricing is fine."
"I rate the price of the IBM Db2 Database an eight out of ten."
"It is expensive when compared to other products."
"The solution's hardware and subscription model for support are very expensive."
"There is a license for this solution and we pay every three years."
"The total cost of the solution depends upon the PVU licensing"
report
Use our free recommendation engine to learn which Relational Databases Tools solutions are best for your needs.
839,319 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
38%
Computer Software Company
14%
Retailer
5%
University
5%
Educational Organization
62%
Financial Services Firm
8%
Computer Software Company
4%
Manufacturing Company
3%
 

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: March 2025.
839,319 professionals have used our research since 2012.