DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Dgraph vs. IBM Db2 Event Store vs. PostgreSQL vs. TiDB vs. XTDB

System Properties Comparison Dgraph vs. IBM Db2 Event Store vs. PostgreSQL vs. TiDB vs. XTDB

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonIBM Db2 Event Store  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSDistributed Event Store optimized for Internet of Things use casesWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTiDB 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.A general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelGraph DBMSEvent Store
Time Series DBMS
Relational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMSDocument store
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.45
Rank#156  Overall
#15  Graph DBMS
Score0.19
Rank#323  Overall
#2  Event Stores
#28  Time Series DBMS
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score4.66
Rank#70  Overall
#38  Relational DBMS
Score0.11
Rank#343  Overall
#46  Document stores
Websitedgraph.iowww.ibm.com/­products/­db2-event-storewww.postgresql.orgpingcap.comgithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationdgraph.io/­docswww.ibm.com/­docs/­en/­db2-event-storewww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stablewww.xtdb.com/­docs
DeveloperDgraph Labs, Inc.IBMPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.Juxt Ltd.
Initial release201620171989 info1989: Postgres, 1996: PostgreSQL20162019
Current release2.016.3, May 20248.1.0, May 20241.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0commercial infofree developer edition availableOpen Source infoBSDOpen Source infoApache 2.0Open Source infoMIT License
Cloud-based only infoOnly available as a cloud servicenonononono
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.
  • 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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoC and C++CGo, RustClojure
Server operating systemsLinux
OS X
Windows
Linux infoLinux, macOS, Windows for the developer additionFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
LinuxAll OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyesyes, extensible-data-notation format
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.nonoyes infospecific XML-type available, but no XML query functionality.nono
Secondary indexesyesnoyesyesyes
SQL infoSupport of SQLnoyes infothrough the embedded Spark runtimeyes infostandard with numerous extensionsyeslimited SQL, making use of Apache Calcite
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
ADO.NET
DB2 Connect
JDBC
ODBC
RESTful HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
HTTP REST
JDBC
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
C
C#
C++
Cobol
Delphi
Fortran
Go
Java
JavaScript (Node.js)
Perl
PHP
Python
R
Ruby
Scala
Visual Basic
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Clojure
Java
Server-side scripts infoStored proceduresnoyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.nono
Triggersnonoyesnono
Partitioning methods infoMethods for storing different data on different nodesyesShardingpartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning (by key range)none
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via RaftActive-active shard replicationSource-replica replication infoother methods possible by using 3rd party extensionsUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.yes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connectorno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonoyesyes infofull support since version 6.6no
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesNo - written data is immutableyesyesyes
Durability infoSupport for making data persistentyesYes - Synchronous writes to local disk combined with replication and asynchronous writes in parquet format to permanent shared storageyesyesyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnono
User concepts infoAccess controlno infoPlanned for future releasesfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardFine grained access rights according to SQL-standard
More information provided by the system vendor
DgraphIBM Db2 Event StorePostgreSQLTiDBXTDB infoformerly named Crux
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB 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 partiesAiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

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

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

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

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
DgraphIBM Db2 Event StorePostgreSQLTiDBXTDB infoformerly named Crux
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

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph on AWS: Setting up a horizontally scalable graph database | Amazon Web Services
1 September 2020, AWS Blog

Dgraph GraphQL database users detail graph use cases
20 April 2021, TechTarget

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, Business Wire

Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
10 September 2020, TechCrunch

provided by Google News

Advancements in streaming data storage, real-time analysis and machine learning
25 July 2019, IBM

IBM Builds New Ultra-Fast Platform for Hoovering Up and Analyzing Data from Anywhere
31 May 2018, Data Center Knowledge

How IBM Is Turning Db2 into an 'AI Database'
3 June 2019, Datanami

Best cloud databases of 2022
4 October 2022, ITPro

Why a robust data management strategy is essential today | IBM HDM
19 September 2019, Express Computer

provided by Google News

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

How LeadSquared accelerated chatbot deployments with generative AI using Amazon Bedrock and Amazon Aurora ...
24 May 2024, AWS Blog

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, blogs.oracle.com

At Build, Microsoft Fabric, PostgreSQL and Cosmos DB get AI enhancements
21 May 2024, SiliconANGLE News

Oracle Introduces PostgreSQL Running Native on OCI
17 December 2023, IDC

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

PingCAP Receives Customers' Choice Distinction in the 2024
29 May 2024, GlobeNewswire

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

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

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

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 database to transact, analyze and contextualize your data in real time.
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

Milvus logo

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

Present your product here