DB-EnginesExtremeDB: the first and only COTS deterministic embedded database management system for mission- and safety-critical hard real-time applicationsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. PostgreSQL vs. RethinkDB

System Properties Comparison IBM Db2 vs. PostgreSQL vs. RethinkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRethinkDB  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLDBMS for the Web with a mechanism to push updated query results to applications in realtime.
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Document store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Spatial DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score165.96
Rank#7  Overall
#5  Relational DBMS
Score586.97
Rank#4  Overall
#4  Relational DBMS
Score3.09
Rank#96  Overall
#17  Document stores
Websitewww.ibm.com/­analytics/­db2www.postgresql.orgrethinkdb.com
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGwww.postgresql.org/­docsrethinkdb.com/­docs
DeveloperIBMPostgreSQL Global Development Group infowww.postgresql.org/­developerThe Linux Foundation infosince July 2017
Initial release1983 infohost version1989 info1989: Postgres, 1996: PostgreSQL2009
Current release12.1, October 201614.0, September 20212.4.1, August 2020
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoBSDOpen Source infoApache Version 2
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageC and C++CC++
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Windows
Data schemeyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, binary, float, bool, date, geometry
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.yes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes
SQL infoSupport of SQLyesyes infostandard with numerous extensionsno
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
TriggersyesyesClient-side triggers through changefeeds
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionpartitioning by range, list and (since PostgreSQL 11) by hashSharding inforange based
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Source-replica replication infoother methods possible by using 3rd party extensionsSource-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDAtomic single-document operations
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoMVCC based
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nono
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardyes infousers and table-level permissions

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesNavicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

ClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
IBM Db2 infoformerly named DB2 or IBM Database 2PostgreSQLRethinkDB
DB-Engines blog posts

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

show all

Conferences and events

PostgreSQL Performance Tuning Secrets
On Demand Webinar, 21 October 2021

Postgres Build 2021
Free Virtual Event, 30 November 2021 - 1 December 2021

Finished events

Latest Performance Features in PostgreSQL 14
On Demand Webinar, 14 October 2021 (finished)

Recent citations in the news

McNeely Technology Solutions Expands DB Services to Include Db2 LUW
28 September 2021, Database Trends and Applications

Db2 PTF Group Enhancements Target Web Services, Audit Journal
4 October 2021, IT Jungle

Rocket Software Names New CEO
6 October 2021, IT Jungle

What is Db2? - Definition from Techopedia
31 August 2021, Techopedia

Rewriting IBM i RPG Software Is Almost Always A Bad Idea
13 October 2021, IT Jungle

provided by Google News

Google Opens Up Spanner Database With PostgreSQL Interface
13 October 2021, The Next Platform

PostgreSQL 14 improves open source database performance
30 September 2021, TechTarget

Open-source veteran PostgreSQL emits release 14: Tweaked, scalable, and ready to get heavy
1 October 2021, The Register

PostgreSQL 14 brings performance boosts
1 October 2021, InfoWorld

PostgreSQL 14 is here - what should you look out for?
14 October 2021, JAXenter

provided by Google News

Open Source Software Market is Going to Boom | Epson, OpenText, Alfresco – EcoChunk
18 October 2021, EcoChunk

Yugabyte Launches Cloud Database-As-A-Service
20 September 2021, Forbes

Review: RethinkDB rethinks real-time Web apps
23 September 2015, InfoWorld

RethinkDB is dead, and MongoDB isn't what killed it
24 January 2017, TechRepublic

How to Use RethinkDB with Node.js Applications
16 December 2015, SitePoint

provided by Google News

Job opportunities

DB2 Database Administrator
Comptech/ Stafftech, Remote

DB2 DBA
Audax Labs, Seattle, WA

Support Engineer
Microsoft, Issaquah, WA

Mainframe DB2 DBA
Encore Technologies, Remote

Sr Database Administrator
The Walt Disney Company (Corporate), Burbank, CA

PostgreSQL Database Administrator
HEB, San Antonio, TX

Python Developer
Floracracy, Remote

Entry-Level Software Engineer
Ingenia Services, Inc., Remote

Global Practice Leader- PostgreSQL
Accelatis, Denver, CO

PostgreSQL DBA/DevOps - Remote
Aspect Software Inc, Remote

jobs by Indeed



Share this page

Featured Products

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here