DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. MySQL

System Properties Comparison IBM Db2 vs. MySQL

Please select another system to include it in the comparison.

Our visitors often compare IBM Db2 and MySQL with Oracle, Microsoft SQL Server and PostgreSQL.

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMySQL  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxWidely used open source RDBMS
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS infoKey/Value like access via memcached API
Secondary database modelsDocument 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
Score146.61
Rank#7  Overall
#5  Relational DBMS
Score1199.40
Rank#2  Overall
#2  Relational DBMS
Websitewww.ibm.com/­analytics/­db2www.mysql.com
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGdev.mysql.com/­doc
DeveloperIBMOracle infosince 2010, originally MySQL AB, then Sun
Initial release1983 infohost version1995
Current release12.1, October 20168.0.31, October 2022
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are available
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
ScaleGrid for MySQL: Fully managed MySQL hosting On-Premises and on a wide variety of cloud providers. Easily deploy, monitor, provision, and scale your deployments in the cloud.
Implementation languageC and C++C and C++
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
OS X
Solaris
Windows
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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.yes
Secondary indexesyesyes
SQL infoSupport of SQLyesyes infowith proprietary extensions
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesC
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 proceduresyesyes infoproprietary syntax
Triggersyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning, sharding with MySQL Cluster or MySQL Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes
User concepts infoAccess controlfine 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 partiesDbVisualizer 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.
» more

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

Arctype: A fast, beautiful database GUI for developers and teams. Download it for free today.
» more

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.
» more

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

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

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

More resources
IBM 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

Table data compression, a multi-valuable database feature.
2 December 2022, Experts Exchange

JDBC Driver Types Explained
15 November 2022, TheServerSide.com

Db2 goes 'cloud-first' as IBM struggles to lift database dinosaur
27 October 2022, The Register

IBM and Microsoft Bring .NET to Power, After All
9 November 2022, IT Jungle

Db2, where are you? Big Blue is oddly reluctant to discuss recent enhancements to its flagship database
23 December 2021, The Register

provided by Google News

AWS Announces Blue/Green Deployments for MySQL on Aurora and RDS
3 December 2022, InfoQ.com

10 more essential MySQL performance tuning tips
7 November 2022, InfoWorld

Juggling hundreds and thousands of MySQL databases? Throw them into the cloud
22 November 2022, The Register

Connect mysql with php using docker and workbench
22 November 2022, SitePoint

10 Best SQL Editor Tools in the Market
18 November 2022, Built In

provided by Google News

Job opportunities

Mainframe DB2 Database Administrator/Engineer
JPMorgan Chase Bank, N.A., Columbus, OH

DATABASE DEVELOPER
State of Arizona, Phoenix, AZ

Part-Time Student-IT-Remote
John Deere, Moline, IL

DB2 Database Lead
Synergy BIS, Remote

DB2 Database Administrator
Lucid Technologies Inc, Raleigh, NC

 PHP/MySQL Developer
Third Rock, Austin, TX

REMOTE Web Developer (PHP / MySQL)
INTERNATIONAL COMMERCE & MARKETING CORP, Remote

MySQL Database Developer
Agama Solutions, San Francisco, CA

Ingénieur Intégration Validation (H/F)
Equans, Atlanta, GA

MySQL DBA
Integra Global Solutions, Remote

jobs by Indeed



Share this page

Featured Products

Redis logo

The world’s most loved real‑time data platform.
Try free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here