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 > H2 vs. IBM Db2 vs. MySQL

System Properties Comparison H2 vs. IBM Db2 vs. MySQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMySQL  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Common in IBM host environments, 2 different versions for host and Windows/LinuxWidely used open source RDBMS
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS infoKey/Value like access via memcached API
Secondary database modelsSpatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.14
Rank#50  Overall
#32  Relational DBMS
Score127.75
Rank#8  Overall
#5  Relational DBMS
Score1101.50
Rank#2  Overall
#2  Relational DBMS
Websitewww.h2database.comwww.ibm.com/­products/­db2www.mysql.com
Technical documentationwww.h2database.com/­html/­main.htmlwww.ibm.com/­docs/­en/­db2dev.mysql.com/­doc
DeveloperThomas MuellerIBMOracle infosince 2010, originally MySQL AB, then Sun
Initial release20051983 infohost version1995
Current release2.2.220, July 202312.1, October 20168.3.0, January 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree version is availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are available
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • PlanetScale: Deploy a fully managed database with the reliability of MySQL and the scale of open source Vitess with PlanetScale today. Predictably scale, increase workflow velocity, and deploy features with zero downtime.
  • Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageJavaC and C++C and C++
Server operating systemsAll OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
OS X
Solaris
Windows
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
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
Secondary indexesyesyesyes
SQL infoSupport of SQLyesyesyes infowith proprietary extensions
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesJavaC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined Functionsyesyes infoproprietary syntax
Triggersyesyesyes
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning, sharding with MySQL Cluster or MySQL Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infowith separate tools (MQ, InfoSphere)Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or roles

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

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

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

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

PlanetScale: Deploy a fully managed serverless database with the reliability of MySQL and the tested scalability of Vitess. Predictably scale, increase workflow velocity, and deploy features with zero downtime.
Get started with a PlanetScale database today for free.
» more

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

More resources
H2IBM Db2 infoformerly named DB2 or IBM Database 2MySQL
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

Recent citations in the news

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

Getting started with new Amazon RDS for Db2 | Amazon Web Services
27 November 2023, AWS Blog

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

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

Amazon RDS Now Supports IBM Db2
16 December 2023, InfoQ.com

provided by Google News

Google advances with vector search in MySQL, leapfrogging Oracle in LLM support
4 March 2024, The Register

Perform cross-account major version upgrades from Amazon RDS for MySQL 5.7 to Amazon Aurora 3.04.x with ...
28 February 2024, AWS Blog

MySQL Introduces Javascript Support in Preview
1 January 2024, InfoQ.com

General Availability: Azure MySQL Import feature for Azure Database for MySQL Single to Flexible Server migrations ...
17 January 2024, Microsoft

Amazon RDS for MySQL supports new minor version 8.0.36
12 February 2024, AWS Blog

provided by Google News



Share this page

Featured Products

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

Milvus logo

The open source vector database for GenAI.
Try Managed Milvus Free

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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