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|
|Name||H2 Xexclude from comparison||IBM Db2 formerly named DB2 or IBM Database 2 Xexclude from comparison||MySQL Xexclude from comparison|
|Description||Full-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/Linux||Widely used open source RDBMS|
|Primary database model||Relational DBMS||Relational DBMS Since Version 10.5 support for JSON/BSON documents compatible with MongoDB||Relational DBMS Key/Value like access via memcached API|
|Secondary database models||Spatial DBMS||Document store|
RDF store in Db2 LUW (Linux, Unix, Windows)
Spatial DBMS with Db2 Spatial Extender
|Developer||Thomas Mueller||IBM||Oracle since 2010, originally MySQL AB, then Sun|
|Initial release||2005||1983 host version||1995|
|Current release||2.1.210, January 2022||12.1, October 2016||8.0.29, April 2022|
|License Commercial or Open Source||Open Source dual-licence (Mozilla public license, Eclipse public license)||commercial free version is available||Open Source GPL version 2. Commercial licenses with extended functionallity are available|
|Cloud-based only Only available as a cloud service||no||no||no|
|DBaaS offerings (sponsored links) Database as a Service|
Providers of DBaaS offerings, please contact us to be listed.
|ScaleGrid for MySQL: Fully managed MySQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.|
|Implementation language||Java||C and C++||C and C++|
|Server operating systems||All OS with a Java VM||AIX|
|Typing predefined data types such as float or date||yes||yes||yes|
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.||no||yes|
|SQL Support of SQL||yes||yes||yes with proprietary extensions|
|APIs and other access methods||JDBC|
JSON style queries MongoDB compatible
Proprietary native API
|Supported programming languages||Java||C|
|Server-side scripts Stored procedures||Java Stored Procedures and User-Defined Functions||yes||yes proprietary syntax|
|Partitioning methods Methods for storing different data on different nodes||none||Sharding only with Windows/Unix/Linux Version||horizontal partitioning, sharding with MySQL Cluster or MySQL Fabric|
|Replication methods Methods for redundantly storing data on multiple nodes||With clustering: 2 database servers on different computers operate on identical copies of a database||yes with separate tools (MQ, InfoSphere)||Multi-source replication|
|MapReduce Offers an API for user-defined Map/Reduce methods||no||no||no|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate Consistency||Immediate Consistency|
|Foreign keys Referential integrity||yes||yes||yes not for MyISAM storage engine|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||ACID||ACID||ACID not for MyISAM storage engine|
|Concurrency Support for concurrent manipulation of data||yes, multi-version concurrency control (MVCC)||yes||yes table locks or row locks depending on storage engine|
|Durability Support for making data persistent||yes||yes||yes|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||yes||yes|
|User concepts Access control||fine grained access rights according to SQL-standard||fine grained access rights according to SQL-standard||Users with fine-grained authorization concept no 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,
|Related products and services|
|3rd parties||DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.|
SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
Arctype: A fast, beautiful database GUI for developers and teams. Download it for free today.
CData: Connect to Big Data & NoSQL through standard Drivers.
Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
Percona: Database problems? Not on your watch.
Databases run better with Percona.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|H2||IBM Db2 formerly named DB2 or IBM Database 2||MySQL|
|DB-Engines blog posts|