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

DBMS > Apache Derby vs. Oracle Berkeley DB vs. PostgreSQL vs. SpaceTime

System Properties Comparison Apache Derby vs. Oracle Berkeley DB vs. PostgreSQL vs. SpaceTime

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 comparisonOracle Berkeley DB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSpaceTime  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Widely used in-process key-value storeWidely 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 DBMSKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
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
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.04
Rank#85  Overall
#46  Relational DBMS
Score1.72
Rank#131  Overall
#21  Key-value stores
#3  Native XML DBMS
Score674.32
Rank#4  Overall
#4  Relational DBMS
Score0.00
Rank#385  Overall
#7  Spatial DBMS
Websitedb.apache.org/­derbywww.oracle.com/­database/­technologies/­related/­berkeleydb.htmlwww.postgresql.orgwww.mireo.com/­spacetime
Technical documentationdb.apache.org/­derby/­manuals/­index.htmldocs.oracle.com/­cd/­E17076_05/­html/­index.htmlwww.postgresql.org/­docs
DeveloperApache Software FoundationOracle infooriginally developed by Sleepycat, which was acquired by OraclePostgreSQL Global Development Group infowww.postgresql.org/­developerMireo
Initial release199719941989 info1989: Postgres, 1996: PostgreSQL2020
Current release10.17.1.0, November 202318.1.40, May 202016.4, August 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infocommercial license availableOpen Source infoBSDcommercial
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 languageJavaC, Java, C++ (depending on the Berkeley DB edition)CC++
Server operating systemsAll OS with a Java VMAIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeyesschema-freeyesyes
Typing infopredefined data types such as float or dateyesnoyesyes
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.yesyes infoonly with the Berkeley DB XML editionyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesno
SQL infoSupport of SQLyesyes infoSQL interfaced based on SQLite is availableyes infostandard with numerous extensionsA subset of ANSI SQL is implemented
APIs and other access methodsJDBCADO.NET
JDBC
native C library
ODBC
streaming API for large objects
RESTful HTTP API
Supported programming languagesJava.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
Python
Tcl
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C#
C++
Python
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
Triggersyesyes infoonly for the SQL APIyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonepartitioning by range, list and (since PostgreSQL 11) by hashFixed-grid hypercubes
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationSource-replica replicationSource-replica replication infoother methods possible by using 3rd party extensionsReal-time block device replication (DRBD)
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 dataACIDACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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.yesyesnono
User concepts infoAccess controlfine grained access rights according to SQL-standardnofine 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 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 JavaDBOracle Berkeley DBPostgreSQLSpaceTime
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

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

The Arrival of Java 20
21 March 2023, Oracle Blogs

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

provided by Google News

Database Trends Report: SQL Beats NoSQL, MySQL Most Popular
5 March 2019, ADTmag

Which Are the Top Local Databases for React Native
15 October 2019, appinventiv.com

Fig. 2. XML Methods for Various XML DBMS Types
29 October 2024, ResearchGate

A complete beginners guide to installing a Bitcoin Full Node on Linux (2018 Edition)
3 May 2018, HackerNoon

Margo I. Seltzer
12 December 2024, Berkman Klein Center

provided by Google News

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

MySQL at 30: Still important but no longer king
12 May 2025, InfoWorld

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

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

The data platform to build your intelligent applications.
Try it 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.

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

Present your product here