DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > IBM Db2 vs. PostgreSQL vs. STSdb vs. Typesense

System Properties Comparison IBM Db2 vs. PostgreSQL vs. STSdb vs. Typesense

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 comparisonTypesense  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 methodA typo-tolerant, in-memory search engine optimized for instant search-as-you-type experiences and developer productivity
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 storeSearch engine
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
Score121.74
Rank#9  Overall
#6  Relational DBMS
Score654.34
Rank#4  Overall
#4  Relational DBMS
Score0.03
Rank#362  Overall
#55  Key-value stores
Score0.80
Rank#209  Overall
#14  Search engines
Websitewww.ibm.com/­products/­db2www.postgresql.orggithub.com/­STSSoft/­STSdb4typesense.org
Technical documentationwww.ibm.com/­docs/­en/­db2www.postgresql.org/­docstypesense.org/­docs
DeveloperIBMPostgreSQL Global Development Group infowww.postgresql.org/­developerSTS Soft SC
Initial release1983 infohost version1989 info1989: Postgres, 1996: PostgreSQL20112015
Current release12.1, October 201616.4, August 20244.0.8, September 2015
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoBSDOpen Source infoGPLv2, commercial license availableOpen Source infoGPL V3
Cloud-based only infoOnly available as a cloud servicenononono
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++CC#C++
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
WindowsLinux
Data schemeyesyesyesschema-free infopre-defined schema optional
Typing infopredefined data types such as float or dateyesyesyes infoprimitive types and user defined types (classes)yes
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 indexesyesyesnoyes
SQL infoSupport of SQLyesyes infostandard with numerous extensionsnono
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 APIRESTful HTTP 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
.Net infocommunity maintained
Clojure infocommunity maintained
Dart infocommunity maintained
Go infocommunity maintained
Java infocommunity maintained
JavaScript
Perl infocommunity maintained
PHP
Python
Ruby
Rust infocommunity maintained
Swift infocommunity maintained
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.nono
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 extensionsnoneMulti-source replication using RAFT
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
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 partiesCYBERTEC is a premier consulting company that provides open-source database PostgreSQL management and data science solutions. By offering PostgreSQL migrations, administration, design, and more, CYBERTEC provides an all-in-one catalog of powerful PostgreSQL support. It's through this exceptional service, equipped with a team of experts, that the company has established a proven reputation. When it comes to Machine Learning, Artificial Intelligence, and Big Data, CYBERTEC offers services customized for you.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and 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 2PostgreSQLSTSdbTypesense
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

Data migration strategies to Amazon RDS for Db2
15 May 2024, AWS Blog

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

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, ibm.com

Precisely says it’s smoothing migration of Db2 analytics data to AWS cloud
5 April 2024, Blocks & Files

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

provided by Google News

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

Failing to connect Commento with PostgreSQL
1 October 2024, SitePoint

Timescale expands open source vector database capabilities for PostgreSQL
29 October 2024, VentureBeat

New Malware PG_MEM Targets PostgreSQL Databases for Crypto Mining
22 August 2024, The Hacker News

PostgreSQL tutorial: Get started with PostgreSQL 16
4 September 2024, InfoWorld

provided by Google News

Building fast, fuzzy site search with Laravel and Typesense
29 July 2024, Laravel News

Serverless Search using Laravel and the Typesense Cloud
22 September 2024, Laravel News

Laravel Scout Adds Typesense, A Lightening-fast Open-source Search
17 January 2024, Laravel News

All “Go” for England 2025
22 October 2024, Scrum Queens

WXV3: Wins for Spain and Netherlands
12 October 2024, Scrum Queens

provided by Google News



Share this page

Featured Products

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

RaimaDB logo

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

Milvus logo

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

Neo4j logo

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

SingleStore logo

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

Present your product here