DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Badger vs. H2 vs. MySQL vs. PostgreSQL vs. SQL.JS

System Properties Comparison Badger vs. H2 vs. MySQL vs. PostgreSQL vs. SQL.JS

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonH2  Xexclude from comparisonMySQL  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSQL.JS  Xexclude from comparison
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.Full-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 SQLPort of SQLite to JavaScript
Primary database modelKey-value storeRelational 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.Relational DBMS
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
Score0.14
Rank#331  Overall
#49  Key-value stores
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score0.53
Rank#252  Overall
#116  Relational DBMS
Websitegithub.com/­dgraph-io/­badgerwww.h2database.comwww.mysql.comwww.postgresql.orgsql.js.org
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerwww.h2database.com/­html/­main.htmldev.mysql.com/­docwww.postgresql.org/­docssql.js.org/­documentation/­index.html
DeveloperDGraph LabsThomas MuellerOracle infosince 2010, originally MySQL AB, then SunPostgreSQL Global Development Group infowww.postgresql.org/­developerAlon Zakai infoenhancements implemented by others
Initial release2017200519951989 info1989: Postgres, 1996: PostgreSQL2012
Current release2.2.220, July 20238.4.0, April 202416.3, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSDOpen Source
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.
  • 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 languageGoJavaC and C++CJavaScript
Server operating systemsBSD
Linux
OS X
Solaris
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
server-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeyesyesyesyes
Typing infopredefined data types such as float or datenoyesyesyesyes
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.nonoyesyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesnoyesyesyes
SQL infoSupport of SQLnoyesyes infowith proprietary extensionsyes infostandard with numerous extensionsyes infoSQL-92 is not fully supported
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
JavaScript API
Supported programming languagesGoJavaAda
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
JavaScript
Server-side scripts infoStored proceduresnoJava 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.no
Triggersnoyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricpartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneWith 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 extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integritynoyesyes infonot for MyISAM storage engineyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID infonot for MyISAM storage engineACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyesyesyesno infoexcept by serializing a db to a file
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesnoyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or rolesfine 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 MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more
Redgate webinars: A series of key topics for new PostgreSQL users.
» 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

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

pgDash: In-Depth PostgreSQL Monitoring.
» 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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

More resources
BadgerH2MySQLPostgreSQLSQL.JS
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

New kids on the block: database management systems implemented in JavaScript
1 December 2014, 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

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, Oracle

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

How to Create a MySQL 8 Database User With Remote Access
4 January 2024, TechRepublic

provided by Google News

How to Import CSV Data Into PostgreSQL Using Spring Boot Batch
22 May 2024, hackernoon.com

At Build, Microsoft Fabric, PostgreSQL and Cosmos DB get AI enhancements
21 May 2024, SiliconANGLE News

Nutanix partners with EDB to fit database service for AI – Blocks and Files
21 May 2024, Blocks & Files

Let PostgreSQL Pick An Index For You
20 May 2024, iProgrammer

Nutanix and EDB Partner to Deliver a Modern Data Platform
21 May 2024, Business Wire

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024 — SitePoint
22 March 2023, SitePoint

Execute millions of SQL statements in milliseconds in the browser with WebAssembly and Web Workers.
14 January 2017, hackernoon.com

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

In Praise Of SQLite
28 July 2022, iProgrammer

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

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

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

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.

Present your product here