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

DBMS > DuckDB vs. H2 vs. H2GIS vs. PostgreSQL vs. SingleStore

System Properties Comparison DuckDB vs. H2 vs. H2GIS vs. PostgreSQL vs. SingleStore

Editorial information provided by DB-Engines
NameDuckDB  Xexclude from comparisonH2  Xexclude from comparisonH2GIS  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSingleStore infoformer name was MemSQL  Xexclude from comparison
DescriptionAn embeddable, in-process, column-oriented SQL OLAP RDBMSFull-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 SQLMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table type
Primary database modelRelational DBMSRelational DBMSSpatial DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsSpatial DBMSRelational DBMSDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
Spatial DBMS
Time Series DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.68
Rank#76  Overall
#41  Relational DBMS
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score0.05
Rank#372  Overall
#7  Spatial DBMS
Score645.05
Rank#4  Overall
#4  Relational DBMS
Score5.91
Rank#61  Overall
#34  Relational DBMS
Websiteduckdb.orgwww.h2database.comwww.h2gis.orgwww.postgresql.orgwww.singlestore.com
Technical documentationduckdb.org/­docswww.h2database.com/­html/­main.htmlwww.h2gis.org/­docs/­homewww.postgresql.org/­docsdocs.singlestore.com
DeveloperThomas MuellerCNRSPostgreSQL Global Development Group infowww.postgresql.org/­developerSingleStore Inc.
Initial release2018200520131989 info1989: Postgres, 1996: PostgreSQL2013
Current release0.10, February 20242.2.220, July 202316.2, February 20248.5, January 2024
License infoCommercial or Open SourceOpen Source infoMIT LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoLGPL 3.0Open Source infoBSDcommercial infofree developer edition 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.SingleStoreDB Cloud: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilities
Implementation languageC++JavaJavaCC++, Go
Server operating systemsserver-lessAll OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux info64 bit version required
Data schemeyesyesyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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.nononoyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesyesyes
SQL infoSupport of SQLyesyesyesyes infostandard with numerous extensionsyes infobut no triggers and foreign keys
APIs and other access methodsArrow Database Connectivity (ADBC)
CLI Client
JDBC
ODBC
JDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Cluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
Supported programming languagesC
C# info3rd party driver
C++
Crystal info3rd party driver
Go info3rd party driver
Java
Lisp info3rd party driver
Python
R
Ruby info3rd party driver
Rust
Swift
Zig info3rd party driver
JavaJava.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Bash
C
C#
Java
JavaScript (Node.js)
Python
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.yes
Triggersnoyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonenonepartitioning by range, list and (since PostgreSQL 11) by hashSharding infohash partitioning
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 extensionsSource-replica replication infostores two copies of each physical data partition on two separate nodes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono infocan define user-defined aggregate functions for map-reduce-style calculations
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes, multi-version concurrency control (MVCC)yes, multi-version concurrency control (MVCC)yesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyesyesyesyes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesnoyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardyes infobased on H2fine grained access rights according to SQL-standardFine grained access control via users, groups and roles
More information provided by the system vendor
DuckDBH2H2GISPostgreSQLSingleStore infoformer name was MemSQL
Specific characteristicsSingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» more
Competitive advantagesSingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» more
Typical application scenariosDriving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» more
Key customersIEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Market metricsCustomers in various industries worldwide including US and International Industry...
» more
Licensing and pricing modelsF ree Tier and Enterprise Edition
» more

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

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

pgDash: In-Depth PostgreSQL Monitoring.
» 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 for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» 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

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

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

More resources
DuckDBH2H2GISPostgreSQLSingleStore infoformer name was MemSQL
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

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Conferences, events and webinars

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

Recent citations in the news

DuckDB Walks to the Beat of Its Own Analytics Drum
5 March 2024, Datanami

Enabling Remote Query Execution through DuckDB Extensions
12 March 2024, InfoQ.com

How to read OSM data with DuckDB | Kamil Raczycki
1 March 2024, Towards Data Science

Seattle startup MotherDuck raises $52.5M at a $400M valuation to fuel DuckDB analytics platform
20 September 2023, GeekWire

MotherDuck Raises $52.5 Million Series B Funding as DuckDB Adoption Soars
20 September 2023, PR Newswire

provided by Google News

Handle tables without primary keys while creating Amazon Aurora PostgreSQL zero-ETL integrations with Amazon ...
18 April 2024, AWS Blog

pgEdge Distributed PostgreSQL Introduces Automatic DDL Replication and Snowflake Sequences for Postgres
17 April 2024, PR Newswire

Breaking Boundaries: PostgreSQL 16 is now available on IBM Cloud
17 April 2024, ibm.com

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, Oracle

Oracle Introduces PostgreSQL Running Native on OCI
17 December 2023, IDC

provided by Google News

SingleStore CEO sees little future for purpose-built vector databases
24 January 2024, VentureBeat

SingleStore adds indexed vector search to Pro Max release for faster AI work – Blocks and Files
29 January 2024, Blocks and Files

SingleStore Accelerates Go-to-Market Strategy with AWS
5 March 2024, Business Wire

New AI features for developers in SingleStoreDB
29 January 2024, InfoWorld

Announcing watsonx.ai and SingleStore for generative AI applications
15 November 2023, IBM

provided by Google News



Share this page

Featured Products

AllegroGraph logo

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

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.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Present your product here