DB-EnginesCrateDB bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. PostgreSQL vs. SQLite

System Properties Comparison IBM Db2 vs. PostgreSQL vs. SQLite

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 comparisonSQLite  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 SQLWidely used in-process RDBMS
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.Relational DBMS
Secondary database modelsDocument store
RDF store infoin DB2 LUW (Linux, Unix, Windows)
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score163.17
Rank#6  Overall
#5  Relational DBMS
Score527.00
Rank#4  Overall
#4  Relational DBMS
Score127.45
Rank#9  Overall
#6  Relational DBMS
Websitewww.ibm.com/­analytics/­db2www.postgresql.orgwww.sqlite.org
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGwww.postgresql.org/­docs/­manualswww.sqlite.org/­docs.html
DeveloperIBMPostgreSQL Global Development Group infowww.postgresql.org/­developerDwayne Richard Hipp
Initial release1983 infohost version1989 info1989: Postgres, 1996: PostgreSQL2000
Current release12.1, October 201612.3, May 20203.32.2 (June 4, 2020), June 2020
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoBSDOpen Source infoPublic Domain
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.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
  • ScaleGrid: Fully managed PostgreSQL hosting with high availability, dedicated servers, and superuser control on the #1 multi-cloud Amazon RDS alternative.
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
server-less
Data schemeyesyesyes infodynamic column types
Typing infopredefined data types such as float or dateyesyesyes infonot rigid because of 'dynamic typing' concept.
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 extensionsyes infoSQL-92 is not fully supported
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
ADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
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
Actionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesyes
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)Master-slave 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 integrityyesyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infovia file-system locks
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.noyes
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 partiesGeneral SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more
2ndQuadrant: Mission Critical Databases.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

CYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
» more

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

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more
Navicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» 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 2PostgreSQLSQLite
DB-Engines blog posts

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

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

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Conferences and events

PostgreSQL Online Trainings
Online Training Courses, 4 May 2020 - 11 December 2020

Recent citations in the news

Senior iSeries DB2 Database Administrator - OneMain Financial
29 June 2020, Built In Chicago

Senior DB2 iSeries Database Administrator - OneMain Financial
15 June 2020, Built In Chicago

More Open Source Databases Coming To IBM i
15 June 2020, IT Jungle

Presto Is The Third Time Charm For Federated Databases
5 June 2020, The Next Platform

HSBC moves from 65 relational databases into one global MongoDB database
12 June 2020, Diginomica

provided by Google News

Bitnine Looks to Scale PostgreSQL
30 June 2020, Datanami

Taking a practical approach to open source PostgreSQL
24 June 2020, TechTarget

EnterpriseDB Rebrands to EDB; Continues to Lead in the PostgreSQL Movement
23 June 2020, Business Wire

ScaleGrid DigitalOcean Support for MySQL, PostgreSQL and Redis™ Now Available
9 June 2020, PRNewswire

Managing inactive Amazon Aurora PostgreSQL users
8 June 2020, idk.dev

provided by Google News

SQLite Gets Jupyter Kernel
15 June 2020, iProgrammer

Global RDBMS Software Market Expected to Grow with a Significant Rate by 2024 Top Players : SQLite, ThinkSQL, Oracle, Microsoft, IBM, PostgreSQL Global Development Group etc.
25 June 2020, Cole of Duty

RDBMS Software Market 2020 Precise Outlook – Microsoft, Oracle, SQLite, IBM, Cubrid, TmaxSoft, Broadcom
10 June 2020, Cole of Duty

Global RDBMS Software Market 2025 corporate overview, financial summary and SWOT analysis-Microsoft, Oracle, PostgreSQL Global Development Group, SQLite, IBM, etc.
24 June 2020, Cole of Duty

Open-Source Database Software Market is Set to Reach a High revenue during 2020-2025 by: MySQL, Redis, Couchbase, Apache Hive, MongoDB, SQLite
1 July 2020, Bandera County Courier

provided by Google News

Job opportunities

Mainframe DB2 Logical Database Administrator
Ensono, Remote

Junior Database Administrator
Unisys, Salt Lake City, UT

Database Administrator
Crete Carrier Corporation, Lincoln, NE

iSeries DB2 Database Administrator
OneMain Financial, Evansville, IN

DB2 Database Administrator
Persistent Knowledge Solutions, McKinney, TX

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

PostgreSQL DBA
Navisite, Warrendale, PA

PostgreSQL DBA
Navisite, Andover, MA

PostgreSQL-Architect
Wipro Limited, Snellville, GA

Fall 2020 DNC Technology Internship
Democratic National Committee, Remote

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Sr Xamarin Developers, WPF, 100%
Computer Staff, Remote

Junior Web Developer
HealPay, Ann Arbor, MI

UI Developer, Xamarin.Forms
Computer Staff, Remote

Developer
Fastenal, Greensboro, NC

jobs by Indeed




Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Arangodb logo

One open-source engine for graph, document & search. Simplify your deployment
stack on Prem, in the cloud - Anywhere.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

Present your product here