DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. MySQL vs. RocksDB vs. Sphinx

System Properties Comparison IBM Db2 vs. MySQL vs. RocksDB vs. Sphinx

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMySQL  Xexclude from comparisonRocksDB  Xexclude from comparisonSphinx  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxWidely used open source RDBMSEmbeddable persistent key-value store optimized for fast storage (flash and RAM)Open source search engine for searching in data from different sources, e.g. relational databases
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS infoKey/Value like access via memcached APIKey-value storeSearch engine
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
Score125.90
Rank#9  Overall
#6  Relational DBMS
Score1061.34
Rank#2  Overall
#2  Relational DBMS
Score3.41
Rank#86  Overall
#11  Key-value stores
Score5.95
Rank#55  Overall
#5  Search engines
Websitewww.ibm.com/­products/­db2www.mysql.comrocksdb.orgsphinxsearch.com
Technical documentationwww.ibm.com/­docs/­en/­db2dev.mysql.com/­docgithub.com/­facebook/­rocksdb/­wikisphinxsearch.com/­docs
DeveloperIBMOracle infosince 2010, originally MySQL AB, then SunFacebook, Inc.Sphinx Technologies Inc.
Initial release1983 infohost version199520132001
Current release12.1, October 20168.4.0, April 20249.2.1, May 20243.5.1, February 2023
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSDOpen Source infoGPL version 2, commercial licence available
Cloud-based only infoOnly available as a cloud servicenononono
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.
Implementation languageC and C++C and C++C++C++
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
OS X
Solaris
Windows
LinuxFreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeyesyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesnono
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.yesno
Secondary indexesyesyesnoyes infofull-text index on all search fields
SQL infoSupport of SQLyesyes infowith proprietary extensionsnoSQL-like query language (SphinxQL)
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
Proprietary native API
C++ API
Java API
Proprietary protocol
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
C
C++
Go
Java
Perl
Python
Ruby
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Server-side scripts infoStored proceduresyesyes infoproprietary syntaxnono
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioningSharding infoPartitioning is done manually, search queries against distributed index is supported
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Multi-source replication
Source-replica replication
yesnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage enginenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineyesno
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyesyes infoThe original contents of fields are not stored in the Sphinx index.
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-standardUsers with fine-grained authorization concept infono user groups or rolesnono

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
Speedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» 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 2MySQLRocksDBSphinx
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

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Recent citations in the news

12 Most Popular Databases in 2024
6 June 2024, MarkTechPost

Denial of Service in IBM DB2 Universal Database
1 June 2024, ITPro Today

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

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

provided by Google News

Authentication Bypass Vulnerability in MySQL
1 June 2024, ITPro Today

12 Most Popular Databases in 2024
6 June 2024, MarkTechPost

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

PlanetScale forks MySQL to add vector support
1 June 2024, Yahoo Movies Canada

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

provided by Google News

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

The Journey to a Million Ops / Sec / Node in Venice
16 March 2024, InfoQ.com

Facebook's MyRocks Truly Rocks!
21 September 2020, Open Source For You

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Google's Newest Challenger
11 January 2024, Free Press Journal

The Pirate Bay was recently down for over a week due to a DDoS attack
29 October 2019, The Hacker News

Beyond the Concert Hall: 5 Organizations Making a Difference in Classical Music in 2018 | WQXR Editorial
22 December 2018, WQXR Radio

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

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

Neo4j logo

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

Present your product here