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

DBMS > EJDB vs. H2 vs. H2GIS vs. PostgreSQL

System Properties Comparison EJDB vs. H2 vs. H2GIS vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEJDB  Xexclude from comparisonH2  Xexclude from comparisonH2GIS  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionEmbeddable document-store database library with JSON representation of queries (in MongoDB style)Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Spatial extension of H2Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelDocument storeRelational DBMSSpatial DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsSpatial DBMSRelational DBMSDocument 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
Score0.27
Rank#297  Overall
#44  Document stores
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score0.00
Rank#383  Overall
#7  Spatial DBMS
Score645.54
Rank#4  Overall
#4  Relational DBMS
Websitegithub.com/­Softmotions/­ejdbwww.h2database.comwww.h2gis.orgwww.postgresql.org
Technical documentationgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdwww.h2database.com/­html/­main.htmlwww.h2gis.org/­docs/­homewww.postgresql.org/­docs
DeveloperSoftmotionsThomas MuellerCNRSPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2012200520131989 info1989: Postgres, 1996: PostgreSQL
Current release2.2.220, July 202316.3, May 2024
License infoCommercial or Open SourceOpen Source infoGPLv2Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoLGPL 3.0Open 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.
  • 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 languageCJavaJavaC
Server operating systemsserver-lessAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeyesyesyes
Typing infopredefined data types such as float or dateyes infostring, integer, double, bool, date, object_idyesyesyes
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.nonoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesnoyesyesyes
SQL infoSupport of SQLnoyesyesyes infostandard with numerous extensions
APIs and other access methodsin-process shared libraryJDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesActionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
JavaJava.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsyes infobased on H2user defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnoyesyesyes
Partitioning methods infoMethods for storing different data on different nodesnonenonenonepartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesnoneWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infobased on H2Source-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 ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityno infotypically not needed, however similar functionality with collection joins possibleyesyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes infoRead/Write Lockingyes, multi-version concurrency control (MVCC)yes, multi-version concurrency control (MVCC)yes
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 controlnofine grained access rights according to SQL-standardyes infobased on H2fine 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 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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» 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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

More resources
EJDBH2H2GISPostgreSQL
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



Share this page

Featured Products

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

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

Present your product here