DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. PostgreSQL vs. STSdb

System Properties Comparison IBM Db2 vs. PostgreSQL vs. STSdb

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 comparisonSTSdb  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 SQLKey-Value Store with special method for indexing infooptimized for high performance using a special indexing method
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.Key-value store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score151.39
Rank#8  Overall
#5  Relational DBMS
Score620.46
Rank#4  Overall
#4  Relational DBMS
Score0.02
Rank#347  Overall
#53  Key-value stores
Websitewww.ibm.com/­analytics/­db2www.postgresql.orggithub.com/­STSSoft/­STSdb4
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGwww.postgresql.org/­docs
DeveloperIBMPostgreSQL Global Development Group infowww.postgresql.org/­developerSTS Soft SC
Initial release1983 infohost version1989 info1989: Postgres, 1996: PostgreSQL2011
Current release12.1, October 201614.5, August 20224.0.8, September 2015
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoBSDOpen Source infoGPLv2, commercial license available
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.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL DBaaS hosting On-Premises and on clouds such as AWS, Azure, GCP and DigitalOcean with no vendor lock-in. Leverage any extension and get SSH access.
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
Windows
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes infoprimitive types and user defined types (classes)
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.
Secondary indexesyesyesno
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
.NET Client API
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#
Java
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionpartitioning by range, list and (since PostgreSQL 11) by hashnone
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 extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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.no
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardno

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 partiesDatasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

The State of PostgreSQL 2022 survey is now open!
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» 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

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» 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

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 2PostgreSQLSTSdb
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

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

show all

Recent citations in the news

From DB2 to Real-Time with Aerospike Founder Srini Srinivasan
8 September 2022, thenewstack.io

Open source databases: What are they and why do they matter?
5 September 2022, The Register

Db2, where are you? Big Blue is oddly reluctant to discuss recent enhancements to its flagship database
23 December 2021, The Register

IBM Power10 Shreds Ice Lake Xeons For Transaction Processing
7 September 2022, The Next Platform

Strategy for IBM i modernization in BFSI technology landscape
22 September 2022, Finextra

provided by Google News

Quest Software Announces Public Beta for SharePlex for PostgreSQL
22 September 2022, Datanami

PostgreSQL vs. MySQL: Four Key Reasons to Choose the Former
22 September 2022, Solutions Review

Installing PostgreSQL on macOS - MUO
17 September 2022, MakeUseOf

Running PostgreSQL Inside Your Browser
8 September 2022, iProgrammer

PostgreSQL Optimizes Performance & Lower Memory Management Overhead
29 August 2022, Phoronix

provided by Google News

Job opportunities

Database Administrator: DB2 LUW
IBM, Bloomington, IL

Cloud Database Specialist (Remote)
ManTech International Corporation, Clarksburg, WV

Mainframe DB2 Database Administrator (100% Remote)
Tech Talent & Strategy, Charlotte, NC

Database Administrator
Contra Costa County Superior Court, Contra Costa County, CA

Database Administrator: DB2 LUW
IBM, Lansing, MI

PostgreSQL Developer
Wipro, Remote

PostgreSQL
Purple Drive Technologies, Washington, DC

Software Engineering Apprentice
Basis Technologies, Chicago, IL

PostgreSQL Developer
TalentMovers, Atlanta, GA

PostgreSQL Developer (14813)
Baer Group, Seattle, WA

jobs by Indeed



Share this page

Featured Products

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Redis logo

The world’s most loved real‑time data platform.
Try free

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

Neo4j NODES 2022
Free online conference for developers and data scientists.
November 16/17 2022.
Register now for free!

Present your product here