DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > IBM Db2 vs. PostgreSQL vs. TypeDB

System Properties Comparison IBM Db2 vs. PostgreSQL vs. TypeDB

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 comparisonTypeDB infoformerly named Grakn  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 SQLTypeDB provides developers with an expressive, customizable type system to manage their data using an award-winning query language, TypeQL, while building on a high-performance, distributed architecture.
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.Graph DBMS infoThe type-theoretic data model of TypeDB subsumes the graph database model.
Object oriented DBMS infoThe data model of TypeDB comprises object-oriented features such as class inheritance and interfaces.
Relational DBMS infoThe type-theoretic data model of TypeDB subsumes the relational database model.
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score122.97
Rank#9  Overall
#6  Relational DBMS
Score663.41
Rank#4  Overall
#4  Relational DBMS
Score0.61
Rank#229  Overall
#20  Graph DBMS
#9  Object oriented DBMS
#106  Relational DBMS
Websitewww.ibm.com/­products/­db2www.postgresql.orgtypedb.com
Technical documentationwww.ibm.com/­docs/­en/­db2www.postgresql.org/­docstypedb.com/­docs
DeveloperIBMPostgreSQL Global Development Group infowww.postgresql.org/­developerVaticle
Initial release1983 infohost version1989 info1989: Postgres, 1996: PostgreSQL2016
Current release12.1, October 201616.4, August 20242.28.3, June 2024
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoBSDOpen Source infoGPL Version 3, commercial licenses 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.
PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
Implementation languageC and C++CJava
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 schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
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
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (IDE)
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
All JVM based languages
C
C++
Java
JavaScript (Node.js)
Python
Rust
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 hashno
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 extensionsSynchronous replication via raft
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
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.nono
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardyes infoat REST API level; other APIs in progress
More information provided by the system vendor
IBM Db2 infoformerly named DB2 or IBM Database 2PostgreSQLTypeDB infoformerly named Grakn
Specific characteristicsTypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantagesTypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosLife sciences : TypeDB makes working with biological data much easier and accelerates...
» more
Licensing and pricing modelsApache f or language drivers, and AGPL and Commercial for the database server. The...
» more

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 parties
» more


» more


» more


» more


» 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 2PostgreSQLTypeDB infoformerly named Grakn
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

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

show all

Recent citations in the news

IBM Db2 Modernizes With New AI-Powered Database Assistant
13 November 2024, Forbes

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

Get a Jumpstart with IBM Db2 Community Edition
10 October 2024, IBM

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target
28 May 2024, AWS Blog

Db2 redux: Wrinkly old database gets 200 shiny new features -- and AI
25 November 2024, The Stack

provided by Google News

Amazon Aurora PostgreSQL Limitless Database is now generally available
31 October 2024, AWS Blog

Snowflake Brings Seamless PostgreSQL and MySQL Integration with New Connectors
16 July 2024, Snowflake

Amazon explains absence of familiar features in ‘PostgreSQL compatible’ Aurora DSQL
9 December 2024, DevClass

High-Severity Flaw in PostgreSQL Allows Hackers to Exploit Environment Variables
15 November 2024, The Hacker News

Aurora Limitless: AWS Introduces New PostgreSQL Database with Automated Horizontal Scaling
22 November 2024, InfoQ.com

provided by Google News

An Enterprise Data Stack Using TypeDB
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, Business Wire

Healthcare and business: How medical trends are evolving following the pandemic
6 May 2022, bayes.city.ac.uk

Building a Biomedical Knowledge Graph
28 June 2021, Towards Data Science

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Neo4j logo

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

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here