DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. PostgreSQL vs. ScyllaDB vs. TiDB

System Properties Comparison IBM Db2 vs. PostgreSQL vs. ScyllaDB vs. TiDB

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 comparisonScyllaDB  Xexclude from comparisonTiDB  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 SQLCassandra and DynamoDB compatible wide column storeTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
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.Wide column storeRelational DBMS
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
Key-value storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score4.75
Rank#68  Overall
#5  Wide column stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitewww.ibm.com/­products/­db2www.postgresql.orgwww.scylladb.compingcap.com
Technical documentationwww.ibm.com/­docs/­en/­db2www.postgresql.org/­docsdocs.scylladb.comdocs.pingcap.com/­tidb/­stable
DeveloperIBMPostgreSQL Global Development Group infowww.postgresql.org/­developerScyllaDBPingCAP, Inc.
Initial release1983 infohost version1989 info1989: Postgres, 1996: PostgreSQL20152016
Current release12.1, October 201616.2, February 2024ScyllaDB Open Source 5.4.1, January 20248.0.0, March 2024
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoBSDOpen Source infoOpen Source (AGPL), commercial license availableOpen Source infoApache 2.0
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.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.Scylla Cloud: Create real-time applications that run at global scale with Scylla Cloud, the industry’s most powerful NoSQL DBaaSTiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC and C++CC++Go, Rust
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
LinuxLinux
Data schemeyesyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.nono
Secondary indexesyesyesyes infocluster global secondary indicesyes
SQL infoSupport of SQLyesyes infostandard with numerous extensionsSQL-like DML and DDL statements (CQL)yes
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
Proprietary protocol (CQL) infocompatible with CQL (Cassandra Query Language, an SQL-like language)
RESTful HTTP API (DynamoDB compatible)
Thrift
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
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
For CQL interface: C#, C++, Clojure, Erlang, Go, Haskell, Java, JavaScript, Node.js, Perl, PHP, Python, Ruby, Rust, Scala
For DynamoDB interface: .Net, ColdFusion, Erlang, Groovy, Java, JavaScript, Perl, PHP, Python, Ruby
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.yes, Luano
Triggersyesyesnono
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionpartitioning by range, list and (since PostgreSQL 11) by hashShardinghorizontal partitioning (by key range)
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 extensionsselectable replication factor infoRepresentation of geographical distribution of servers is possibleUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Tunable Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integrityyesyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infoAtomicity and isolation are supported for single operationsACID
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 infoin-memory tablesno
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardAccess rights for users can be defined per objectFine grained access rights according to SQL-standard
More information provided by the system vendor
IBM Db2 infoformerly named DB2 or IBM Database 2PostgreSQLScyllaDBTiDB
Specific characteristicsScyllaDB is engineered to deliver predictable performance at scale. It’s adopted...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesHighly-performant (efficiently utilizes full resources of a node and network; millions...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosScyllaDB is ideal for applications that require high throughput and low latency at...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersDiscord, Epic Games, Expedia, Zillow, Comcast, Disney+ Hotstar, Samsung, ShareChat,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsScyllaDB typically offers ~75% total cost of ownership savings, with ~5X higher throughput...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsScyllaDB Open Source - free open source software (AGPL) ScyllaDB Enterprise - subscription-based...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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 partiesSharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» 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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

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

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» 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 2PostgreSQLScyllaDBTiDB
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

Conferences, events and webinars

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

Recent citations in the news

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Performance optimization of full load and ongoing replication tasks from self-managed Db2 to Amazon RDS for Db2 ...
24 April 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks and Files

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

provided by Google News

Automatically Generate Types for Your PostgreSQL Database
1 May 2024, The New Stack

Baffle Delivers Enterprise-Grade Data Security for PostgreSQL on Amazon RDS and Amazon Aurora
1 May 2024, Yahoo Finance

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, Oracle

Why PostgreSQL Is the Bedrock for the Future of Data
26 April 2024, hackernoon.com

Your MySQL 5.7 and PostgreSQL 11 databases will be automatically enrolled into Amazon RDS Extended Support ...
21 December 2023, AWS Blog

provided by Google News

Sleeping at Scale - Delivering 10k Timers per Second per Node with Rust, Tokio, Kafka, and Scylla
26 April 2024, InfoQ.com

ScyllaDB Raises $43M to Take on MongoDB at Scale, Push Database Performance to New Levels
17 October 2023, Datanami

Discord Migrates Trillions of Messages from Cassandra to ScyllaDB
22 June 2023, InfoQ.com

ScyllaDB on AWS is a NoSQL Database Built for Gigabyte-to-Petabyte Scale | Amazon Web Services
6 January 2023, AWS Blog

Scylla vs Cassandra: Performance Comparison - DataScienceCentral.com
9 January 2020, Data Science Central

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

provided by Google News



Share this page

Featured Products

Milvus logo

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

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

RaimaDB logo

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

Present your product here