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
72
Ranking in other categories
No ranking in other categories
 

Mindshare comparison

As of February 2025, in the Relational Databases Tools category, the mindshare of CockroachDB is 3.5%, 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 best feature of CockroachDB is the ability to keep the nodes in different locations."
"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."
"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 availability and the easy to use feature is the most valuable. The documentation is also good."
"The initial setup and deployment are simple."
"The most valuable features of the solution are its resiliency features and the geo-partitioning capabilities."
"The subset of SQL that my client is using is completely supported."
"The solution can scale."
"The most valuable features of this solution are security and stability."
"The most valuable feature of the solution is its compatibility with IBM Power Systems."
"IBM DB2 pureScale Feature is valuable."
"I believe that because the support is good, they jump in and assist us in determining the root cause."
"The most valuable feature of IBM Db2 Database is its ability to perform automatic self-management, reducing the need for manual tasks such as managing logs and folders."
"The solution is very stable, in both hardware and database."
"It is a scalable solution."
 

Cons

"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."
"The initial setup and pricing could be improved."
"We are looking for more features to support distributed high availability and geo-partitioning."
"I would like CockroachDB to have more compatibility with PostgreSQL, especially with the connection string and technical integrations."
"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."
"When I look at Microsoft SQL Server, SQL Server provides me with better tools for database management."
"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."
"They should simplify the management of Db2 as a relational database system. There should be the simplification of management. This is probably one of the most important asks for being successful in the future."
"IBM Db2 Database is not ACID compliant, which would improve it. Db2 lacks Isolation, so when two people are trying to update the same field at the same time it can become stuck. Other newer databases do not have this issue, such as Microsoft SQL, Oracle DB, PostgreSQL, and SAP HANA."
"It would be helpful to have a hybrid data storage facility that includes NoSQL technologies."
"The backup solution lacks flexibility."
"The technical support team is not very good when compared to the efficiency of Oracle's support."
"​Not very solid compared to its competitors' products.​"
 

Pricing and Cost Advice

"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'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 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."
"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."
"We don't see what the specific price of the DB2 license is because we pay for the backup license as a package."
"The total cost of the solution depends upon the PVU licensing"
"I rate the product pricing a nine out of ten."
"It is expensive."
"Clients are required to purchase a license."
"If I consider the price of IBM Db2 Database, I would say there are cheaper products in the market."
"I think that everyone knows that with IBM the standard price is higher than the others."
report
Use our free recommendation engine to learn which Relational Databases Tools solutions are best for your needs.
832,138 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
39%
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 usage of Db2 could be simplified, as it is quite complex and requires substantial knowledge of Db2 and zOS. Modern features are being implemented, but further simplification and the inclusion o...
 

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