DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Derby vs. FoundationDB vs. MySQL vs. PostgreSQL

System Properties Comparison Apache Derby vs. FoundationDB vs. MySQL vs. PostgreSQL

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 comparisonFoundationDB  Xexclude from comparisonMySQL  Xexclude from comparisonPostgreSQL  Xexclude from comparison
Created as commercial project in 2013, FoundationDB has been acquired by Apple in March 2015 and was withdrawn from the market. As a consequence, the product was removed from the DB-Engines ranking. In April 2018, Apple open-sourced FoundationDB and it therefore reappears in the ranking.
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Ordered key-value store. Core features are complimented by layers.Widely used open source RDBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSDocument store infosupported via specific layer
Key-value store
Relational DBMS infosupported via specific SQL-layer
Relational DBMS infoKey/Value like access via memcached APIRelational 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
Spatial DBMS
Document 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
Score0.89
Rank#197  Overall
#32  Document stores
#29  Key-value stores
#92  Relational DBMS
Score964.98
Rank#2  Overall
#2  Relational DBMS
Score674.32
Rank#4  Overall
#4  Relational DBMS
Websitedb.apache.org/­derbygithub.com/­apple/­foundationdbwww.mysql.comwww.postgresql.org
Technical documentationdb.apache.org/­derby/­manuals/­index.htmlapple.github.io/­foundationdbdev.mysql.com/­docwww.postgresql.org/­docs
DeveloperApache Software FoundationFoundationDBOracle infosince 2010, originally MySQL AB, then SunPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release1997201319951989 info1989: Postgres, 1996: PostgreSQL
Current release10.17.1.0, November 20236.2.28, November 20209.0.0, July 202416.4, August 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSD
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++C and C++C
Server operating systemsAll OS with a Java VMLinux
OS X
Windows
FreeBSD
Linux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesschema-free infosome layers support schemasyesyes
Typing infopredefined data types such as float or dateyesno infosome layers support typingyesyes
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.yesyesyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesnoyesyes
SQL infoSupport of SQLyessupported in specific SQL layer onlyyes infowith proprietary extensionsyes infostandard with numerous extensions
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
Proprietary native API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesJava.Net
C
C++
Go
Java
JavaScript infoNode.js
PHP
Python
Ruby
Swift
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresJava Stored Proceduresin SQL-layer onlyyes infoproprietary syntaxuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyesnoyesyes
Partitioning methods infoMethods for storing different data on different nodesnoneShardinghorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationyesMulti-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyLinearizable consistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesin SQL-layer onlyyes infonot for MyISAM storage engineyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID infonot for MyISAM storage engineACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engineyes
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.yesyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardnoUsers with fine-grained authorization concept infono user groups or rolesfine 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 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 JavaDBFoundationDBMySQLPostgreSQL
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

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

Apple Acquires Durable Database Company FoundationDB
24 March 2015, TechCrunch

FoundationDB Record Layer: A Multi-Tenant Structured Datastore
25 July 2020, Apple Machine Learning Research

FoundationDB team’s new venture, Antithesis, raises $47M to enhance software testing
13 February 2024, SiliconANGLE

IBM Cloudant pulls plan to fund new foundational layer for CouchDB
15 March 2022, theregister.com

FoundationDB, a very interesting NoSQL database owned by Apple, is now an open-source project
19 April 2018, GeekWire

provided by Google News

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

30 years of MySQL, the database that changed the world
6 May 2025, theregister.com

MySQL Explained: Your Guide to Mastering This Powerful Database
29 August 2024, Oracle

Migrate very large databases to Amazon Aurora MySQL using MyDumper and MyLoader
27 February 2025, Amazon Web Services

Build global MySQL apps using Cloudflare Workers and Hyperdrive
8 April 2025, The Cloudflare Blog

provided by Google News

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

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

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.

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.

Present your product here