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

DBMS > HyperSQL vs. IBM Db2 vs. Oracle Berkeley DB vs. PostgreSQL vs. TerarkDB

System Properties Comparison HyperSQL vs. IBM Db2 vs. Oracle Berkeley DB vs. PostgreSQL vs. TerarkDB

Editorial information provided by DB-Engines
NameHyperSQL infoalso known as HSQLDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonOracle Berkeley DB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionMultithreaded, transactional RDBMS written in Java infoalso known as HSQLDBCommon in IBM host environments, 2 different versions for host and Windows/LinuxWidely used in-process key-value storeWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBKey-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.Key-value store
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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.23
Rank#93  Overall
#48  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Score2.01
Rank#126  Overall
#21  Key-value stores
#3  Native XML DBMS
Score636.25
Rank#4  Overall
#4  Relational DBMS
Score0.08
Rank#367  Overall
#56  Key-value stores
Websitehsqldb.orgwww.ibm.com/­products/­db2www.oracle.com/­database/­technologies/­related/­berkeleydb.htmlwww.postgresql.orggithub.com/­bytedance/­terarkdb
Technical documentationhsqldb.org/­web/­hsqlDocsFrame.htmlwww.ibm.com/­docs/­en/­db2docs.oracle.com/­cd/­E17076_05/­html/­index.htmlwww.postgresql.org/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperIBMOracle infooriginally developed by Sleepycat, which was acquired by OraclePostgreSQL Global Development Group infowww.postgresql.org/­developerByteDance, originally Terark
Initial release20011983 infohost version19941989 info1989: Postgres, 1996: PostgreSQL2016
Current release2.7.2, June 202312.1, October 201618.1.40, May 202016.3, May 2024
License infoCommercial or Open SourceOpen Source infobased on BSD licensecommercial infofree version is availableOpen Source infocommercial license availableOpen Source infoBSDcommercial inforestricted open source version available
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, Java, C++ (depending on the Berkeley DB edition)CC++
Server operating systemsAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesAIX
HP-UX
Linux
Solaris
Windows
z/OS
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesyesschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesnoyesno
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 infoonly with the Berkeley DB XML editionyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesyesno
SQL infoSupport of SQLyesyesyes infoSQL interfaced based on SQLite is availableyes infostandard with numerous extensionsno
APIs and other access methodsHTTP API infoJDBC via HTTP
JDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
C++ API
Java API
Supported programming languagesAll languages supporting JDBC/ODBC
Java
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.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++
Java
Server-side scripts infoStored proceduresJava, SQLyesnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesyes infoonly for the SQL APIyesno
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoonly with Windows/Unix/Linux Versionnonepartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneyes infowith separate tools (MQ, InfoSphere)Source-replica replicationSource-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.yesyesnoyes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardnofine 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 partiesNavicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

SharePlex 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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» 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

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

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

More resources
HyperSQL infoalso known as HSQLDBIBM Db2 infoformerly named DB2 or IBM Database 2Oracle Berkeley DBPostgreSQLTerarkDB
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

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

Denial of Service in IBM DB2 Universal Database
1 June 2024, ITPro Today

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

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

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

provided by Google News

Margo Seltzer Named ACM Athena Lecturer for Technical and Mentoring Contributions
26 April 2023, HPCwire

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

Oracle buys Sleepycat Software
14 February 2006, MarketWatch

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

Margo I. Seltzer | Berkman Klein Center
18 August 2020, Berkman Klein Center

provided by Google News

What Microsoft's Open Source PostgreSQL Acquisition Portends for SQL Server
1 June 2024, ITPro Today

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

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

Enterprise DB begins rolling AI features into PostgreSQL
23 May 2024, SiliconANGLE News

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, blogs.oracle.com

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

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.

Present your product here