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

DBMS > Apache Druid vs. IBM Db2 vs. MarkLogic vs. PostgreSQL vs. SpaceTime

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

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMarkLogic  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSpaceTime  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/LinuxOperational and transactional Enterprise NoSQL databaseWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLSpaceTime is a spatio-temporal DBMS with a focus on performance.
Primary database modelRelational DBMS
Time Series DBMS
Relational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Native XML DBMS
RDF store infoas of version 7
Search engine
Relational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Spatial 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
Relational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.34
Rank#88  Overall
#48  Relational DBMS
#7  Time Series DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score5.92
Rank#58  Overall
#10  Document stores
#1  Native XML DBMS
#1  RDF stores
#6  Search engines
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score0.00
Rank#383  Overall
#7  Spatial DBMS
Websitedruid.apache.orgwww.ibm.com/­products/­db2www.marklogic.comwww.postgresql.orgwww.mireo.com/­spacetime
Technical documentationdruid.apache.org/­docs/­latest/­designwww.ibm.com/­docs/­en/­db2docs.marklogic.comwww.postgresql.org/­docs
DeveloperApache Software Foundation and contributorsIBMMarkLogic Corp.PostgreSQL Global Development Group infowww.postgresql.org/­developerMireo
Initial release20121983 infohost version20011989 info1989: Postgres, 1996: PostgreSQL2020
Current release29.0.1, April 202412.1, October 201611.0, December 202216.3, May 2024
License infoCommercial or Open SourceOpen Source infoApache license v2commercial infofree version is availablecommercial inforestricted free version is availableOpen Source infoBSDcommercial
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.
Implementation languageJavaC and C++C++CC++
Server operating systemsLinux
OS X
Unix
AIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeyes infoschema-less columns are supportedyesschema-free infoSchema can be enforcedyesyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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.noyesyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesyesno
SQL infoSupport of SQLSQL for queryingyesyes infoSQL92yes infostandard with numerous extensionsA subset of ANSI SQL is implemented
APIs and other access methodsJDBC
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Java API
Node.js Client API
ODBC
proprietary Optic API infoProprietary Query API, introduced with version 9
RESTful HTTP API
SPARQL
WebDAV
XDBC
XQuery
XSLT
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
RESTful HTTP API
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C
C#
C++
Java
JavaScript (Node.js)
Perl
PHP
Python
Ruby
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C#
C++
Python
Server-side scripts infoStored proceduresnoyesyes infovia XQuery or JavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnoyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedSharding infoonly with Windows/Unix/Linux VersionShardingpartitioning by range, list and (since PostgreSQL 11) by hashFixed-grid hypercubes
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesyes infowith separate tools (MQ, InfoSphere)yesSource-replica replication infoother methods possible by using 3rd party extensionsReal-time block device replication (DRBD)
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infovia Hadoop Connector, HDFS Direct Access and in-database MapReduce jobsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID infocan act as a resource manager in an XA/JTA transactionACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes, with Range Indexesnono
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-standardRole-based access control at the document and subdocument levelsfine grained access rights according to SQL-standardyes

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 partiesSharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» 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

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

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 2MarkLogicPostgreSQLSpaceTime
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

Apache Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers' Choice Awards
26 January 2024, Datanami

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Imply Announces Automatic Schema Discovery for Apache Druid, Reinforcing Druid's Leadership for Real-Time ...
6 June 2023, Business Wire

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

provided by Google News

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

Simplify workload management and cloud provisioning with Amazon RDS for Db2’s consumption-based licensing
21 May 2024, IBM

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

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

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

provided by Google News

MarkLogic “The NoSQL Database”. In the MarkLogic Query Console, you can… | by Abhay Srivastava | Apr, 2024
22 April 2024, Medium

Intelligence for multi-domain warfighters can now be sourced from logistics operations
13 May 2024, Breaking Defense

Database Platform to Simplify Complex Data | Progress Marklogic
7 February 2023, Progress Software

ABN AMRO Moves Progress-Powered Credit Store App to Azure Cloud; Achieves 40% Faster Data Processing, Lower ...
12 March 2024, GlobeNewswire

Seven Quick Steps to Setting Up MarkLogic Server in Kubernetes
1 February 2024, Release.nl

provided by Google News

Deep PostgreSQL Thoughts: Valuing Currency
22 May 2024, AWS Blog

EDB unveils EDB Postgres AI
23 May 2024, InfoWorld

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

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

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

provided by Google News



Share this page

Featured Products

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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