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

DBMS > Apache Derby vs. Apache Druid vs. PostgreSQL vs. STSdb

System Properties Comparison Apache Derby vs. Apache Druid vs. PostgreSQL vs. STSdb

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Derby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonApache Druid  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSTSdb  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Open-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataWidely 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 method
Primary database modelRelational DBMSRelational DBMS
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.Key-value store
Secondary database modelsDocument 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
Score3.04
Rank#85  Overall
#46  Relational DBMS
Score3.18
Rank#84  Overall
#45  Relational DBMS
#7  Time Series DBMS
Score674.32
Rank#4  Overall
#4  Relational DBMS
Score0.03
Rank#365  Overall
#57  Key-value stores
Websitedb.apache.org/­derbydruid.apache.orgwww.postgresql.orggithub.com/­STSSoft/­STSdb4
Technical documentationdb.apache.org/­derby/­manuals/­index.htmldruid.apache.org/­docs/­latest/­designwww.postgresql.org/­docs
DeveloperApache Software FoundationApache Software Foundation and contributorsPostgreSQL Global Development Group infowww.postgresql.org/­developerSTS Soft SC
Initial release199720121989 info1989: Postgres, 1996: PostgreSQL2011
Current release10.17.1.0, November 202330.0.0, June 202416.4, August 20244.0.8, September 2015
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache license v2Open Source infoBSDOpen Source infoGPLv2, commercial license available
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 languageJavaJavaCC#
Server operating systemsAll OS with a Java VMLinux
OS X
Unix
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Windows
Data schemeyesyes infoschema-less columns are supportedyesyes
Typing infopredefined data types such as float or dateyesyesyesyes infoprimitive types and user defined types (classes)
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.yesnoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyesno
SQL infoSupport of SQLyesSQL for queryingyes infostandard with numerous extensionsno
APIs and other access methodsJDBCJDBC
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
.NET Client API
Supported programming languagesJavaClojure
JavaScript
PHP
Python
R
Ruby
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C#
Java
Server-side scripts infoStored proceduresJava Stored Proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesnoyesno
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infomanual/auto, time-basedpartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationyes, via HDFS, S3 or other storage enginesSource-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDno
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.yesnono
User concepts infoAccess controlfine grained access rights according to SQL-standardRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemfine 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 parties
» more

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

More resources
Apache Derby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBApache DruidPostgreSQLSTSdb
DB-Engines blog posts

DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending
1 May 2025, DB-Engines

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

show all

Recent citations in the news

Apache Derby Vulnerability Let Attackers Bypass Authentication with LDAP Injection
3 March 2025, CybersecurityNews

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, theserverside.com

Using Java DB in Desktop Applications
15 October 2019, Oracle

IBM Acquires Stepzen to Scale AI, Cloud Ambitions
9 February 2023, CX Today

The Apache® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

provided by Google News

Imply Announces the Availability of Imply Polaris, a Database-as-a-Service Built from Apache Druid, on Microsoft Azure
26 June 2024, Business Wire

How to connect DataGrip to Apache Druid
18 October 2021, Towards Data Science

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

Apache Druid 25.0 Delivers Multi-Stage Query Engine and Kubernetes Task Management
19 January 2023, infoq.com

Streaming fast: Druid’s event-based database practices for sub-second trillion row response
21 February 2022, Blocks and Files

provided by Google News

Understanding transaction visibility in PostgreSQL clusters with read replicas
2 May 2025, Amazon Web Services (AWS)

Over 1,500 PostgreSQL Servers Compromised in Fileless Cryptocurrency Mining Campaign
1 April 2025, The Hacker News

Fileless XMRig-C3 Cryptominer Targets PostgreSQL Servers
31 March 2025, wiz.io

Rapid7 Flags New PostgreSQL Zero-Day Connected to BeyondTrust Exploitation
13 February 2025, SecurityWeek

Goldengate 23ai for OCI PostgreSQL Database Service
17 April 2025, Oracle Blogs

provided by Google News

Traditional database (DB) vs. proposed sample type specific database...
30 December 2019, ResearchGate

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.

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.

Milvus logo

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

Present your product here