DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > H2 vs. MySQL vs. PostgreSQL vs. Riak KV vs. TypeDB

System Properties Comparison H2 vs. MySQL vs. PostgreSQL vs. Riak KV vs. TypeDB

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMySQL  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRiak KV  Xexclude from comparisonTypeDB infoformerly named Grakn  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Widely used open source RDBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLDistributed, fault tolerant key-value storeTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelRelational DBMSRelational 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.Key-value store infowith links between data sets and object tags for the creation of secondary indexesGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
Secondary database modelsSpatial DBMSDocument 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
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score4.10
Rank#82  Overall
#9  Key-value stores
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websitewww.h2database.comwww.mysql.comwww.postgresql.orgtypedb.com
Technical documentationwww.h2database.com/­html/­main.htmldev.mysql.com/­docwww.postgresql.org/­docswww.tiot.jp/­riak-docs/­riak/­kv/­latesttypedb.com/­docs
DeveloperThomas MuellerOracle infosince 2010, originally MySQL AB, then SunPostgreSQL Global Development Group infowww.postgresql.org/­developerOpenSource, formerly Basho TechnologiesVaticle
Initial release200519951989 info1989: Postgres, 1996: PostgreSQL20092016
Current release2.2.220, July 20238.4.0, April 202416.3, May 20243.2.0, December 20222.26.3, January 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSDOpen Source infoApache version 2, commercial enterprise editionOpen Source infoGPL Version 3, commercial licenses 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 MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageJavaC and C++CErlangJava
Server operating systemsAll OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Linux
OS X
Windows
Data schemeyesyesyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesnoyes
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.noyesyes infospecific XML-type available, but no XML query functionality.nono
Secondary indexesyesyesyesrestrictedyes
SQL infoSupport of SQLyesyes infowith proprietary extensionsyes infostandard with numerous extensionsnono
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
ODBC
Proprietary native API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
HTTP API
Native Erlang Interface
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
Supported programming languagesJavaAda
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
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined Functionsyes infoproprietary syntaxuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Erlangno
Triggersyesyesyesyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricpartitioning by range, list and (since PostgreSQL 11) by hashSharding infono "single point of failure"Sharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsselectable replication factorMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyesyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyEventual ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engineyesno infolinks between data sets can be storedno infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyesyesyes
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.yesyesnono
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or rolesfine grained access rights according to SQL-standardyes, using Riak Securityyes infoat REST API level; other APIs in progress
More information provided by the system vendor
H2MySQLPostgreSQLRiak KVTypeDB infoformerly named Grakn
Specific characteristicsTypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantagesTypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosLife sciences : TypeDB makes working with biological data much easier and accelerates...
» more
Licensing and pricing modelsApache f or language drivers, and AGPL and Commercial for the database server. The...
» 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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

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

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» 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

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» 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

pgDash: In-Depth PostgreSQL Monitoring.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» 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

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

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

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

More resources
H2MySQLPostgreSQLRiak KVTypeDB infoformerly named Grakn
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

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

Conferences, events and webinars

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

Recent citations in the news

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

Ultimate MySQL Workbench Installation Guide [2024 Edition]
15 February 2024, Simplilearn

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

MySQL HeatWave Lakehouse Support for Parquet and Avro file formats
8 November 2023, Oracle

Rule::array() and whereJsonOverlaps() for MySQL in Laravel 11.7
7 May 2024, Laravel News

provided by Google News

ServiceNow trades MariaDB for RaptorDB (PostgreSQL)
13 May 2024, Techzine Europe

AGEDB Technology Launches PGTS - PostgreSQL Tech-Support
8 May 2024, Yahoo Canada Finance

First Principles: Optimizing PostgreSQL for the cloud
14 November 2023, Oracle

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, Microsoft

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

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Basho distributes Riak to more customers - DCD
28 November 2013, DatacenterDynamics

provided by Google News

An Enterprise Data Stack Using TypeDB | by Daniel Crowe
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, Business Wire

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

Bayer's Approach to Modelling and Loading Data at Scale
16 August 2021, Towards Data Science

provided by Google News



Share this page

Featured Products

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 database to transact, analyze and contextualize your data in real time.
Try it today.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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