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 > Apache Druid vs. IBM Db2 vs. PostgreSQL

System Properties Comparison Apache Druid vs. IBM Db2 vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataCommon 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 SQL
Primary database modelRelational DBMS
Time Series DBMS
Relational 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.
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.22
Rank#128  Overall
#64  Relational DBMS
#9  Time Series DBMS
Score146.61
Rank#7  Overall
#5  Relational DBMS
Score617.97
Rank#4  Overall
#4  Relational DBMS
Websitedruid.apache.orgwww.ibm.com/­analytics/­db2www.postgresql.org
Technical documentationdruid.apache.org/­docs/­latest/­designwww.ibm.com/­support/­knowledgecenter/­SSEPGGwww.postgresql.org/­docs
DeveloperApache Software Foundation and contributorsIBMPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20121983 infohost version1989 info1989: Postgres, 1996: PostgreSQL
Current release24.0.1, November 202212.1, October 201615.1, November 2022
License infoCommercial or Open SourceOpen Source infoApache license v2commercial infofree version is availableOpen Source infoBSD
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.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL DBaaS hosting On-Premises and on clouds such as AWS, Azure, GCP and DigitalOcean with no vendor lock-in. Leverage any extension and get SSH access.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
Implementation languageJavaC and C++C
Server operating systemsLinux
OS X
Unix
AIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyes infoschema-less columns are supportedyesyes
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.noyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes
SQL infoSupport of SQLSQL for queryingyesyes infostandard with numerous extensions
APIs and other access methodsJDBC
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
C
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
Server-side scripts infoStored proceduresnoyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnoyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedSharding infoonly with Windows/Unix/Linux Versionpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesyes infowith separate tools (MQ, InfoSphere)Source-replica replication infoother methods possible by using 3rd party extensions
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 integritynoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID
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 controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

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 partiespgDash: In-Depth PostgreSQL Monitoring.
» 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

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

The State of PostgreSQL 2022 survey is now open!
» more

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

More resources
Apache DruidIBM Db2 infoformerly named DB2 or IBM Database 2PostgreSQL
DB-Engines blog posts

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

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

show all

Recent citations in the news

Apache Druid’s Role in Modern Data Analytics
10 November 2022, DevOps.com

Imply Announces Details of Druid Summit 2022 Virtual Conferences
21 November 2022, Datanami

BigDATAwire (Formerly Datanami) Reveals Winners of 2022 Readers' and Editors' Choice Awards
29 November 2022, Datanami

Imply Announces Major Open Source Contribution for Apache Druid; New Financial Guarantee for Apache Druid Users
20 September 2022, Business Wire

Apache Druid Takes Its Place In The Pantheon Of Databases
16 June 2022, The Next Platform

provided by Google News

Table data compression, a multi-valuable database feature.
2 December 2022, Experts Exchange

JDBC Driver Types Explained
15 November 2022, TheServerSide.com

Db2 goes 'cloud-first' as IBM struggles to lift database dinosaur
27 October 2022, The Register

IBM and Microsoft Bring .NET to Power, After All
9 November 2022, IT Jungle

Db2, where are you? Big Blue is oddly reluctant to discuss recent enhancements to its flagship database
23 December 2021, The Register

provided by Google News

EDB brings new tools to open source PostgreSQL database
2 December 2022, TechTarget

Researchers Disclose Supply-Chain Flaw Affecting IBM Cloud Databases for PostgreSQL
2 December 2022, The Hacker News

AWS Brings Trusted Extension Support to Managed Postgres
1 December 2022, thenewstack.io

Why We Built Cloud Native Object Storage for PostgreSQL with Amazon S3
29 November 2022, thenewstack.io

New Features for Azure Database for PostgreSQL Flexible Server
4 November 2022, InfoQ.com

provided by Google News

Job opportunities

Kubernetes Admin-Apache Druid cluster
Qcentrio, United States

Senior Software Engineer, Data
Tapcart, Santa Monica, CA

Staff Architect, Analytics Application Engineering
Change Healthcare, Wyoming

Java Developer with Big Data
Intone Networks, Manhattan, NY

Tech Lead Manager, TikTok Experience Data Platform
TikTok, Mountain View, CA

Db2 DBA
Cognizant Technology Solutions, Dallas, TX

Database Admin
General Dynamics Information Technology, Indiana

Mainframe DB2 Database Administrator/Engineer
JPMorgan Chase Bank, N.A., Columbus, OH

Database Developer
BSI Solutions, Remote

DB2 Database Lead
Synergy BIS, Remote

Support Consultant -PostgreSQL
Percona, United States

PostgreSQL DB
Cognizant Technology Solutions, Atlanta, GA

PostgreSQL Apps DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL DBA
Luxoft, Remote

PostgreSQL DBA
Career Soft Solutions, Jersey City, NJ

jobs by Indeed



Share this page

Featured Products

Redis logo

The world’s most loved real‑time data platform.
Try free

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here