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

DBMS > 4D vs. IBM Db2 vs. MySQL vs. RocksDB vs. SwayDB

System Properties Comparison 4D vs. IBM Db2 vs. MySQL vs. RocksDB vs. SwayDB

Editorial information provided by DB-Engines
Name4D infoformer name: 4th Dimension  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMySQL  Xexclude from comparisonRocksDB  Xexclude from comparisonSwayDB  Xexclude from comparison
DescriptionApplication development environment with integrated database management systemCommon 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)An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS infoKey/Value like access via memcached APIKey-value storeKey-value store
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
Score2.58
Rank#108  Overall
#54  Relational DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score3.65
Rank#85  Overall
#11  Key-value stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Websitewww.4d.comwww.ibm.com/­products/­db2www.mysql.comrocksdb.orgswaydb.simer.au
Technical documentationdeveloper.4d.comwww.ibm.com/­docs/­en/­db2dev.mysql.com/­docgithub.com/­facebook/­rocksdb/­wiki
Developer4D, IncIBMOracle infosince 2010, originally MySQL AB, then SunFacebook, Inc.Simer Plaha
Initial release19841983 infohost version199520132018
Current releasev20, April 202312.1, October 20168.4.0, April 20248.11.4, April 2024
License infoCommercial or Open Sourcecommercialcommercial infofree version is availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSDOpen Source infoGNU Affero GPL V3.0
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.
Implementation languageC and C++C and C++C++Scala
Server operating systemsOS X
Windows
AIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
OS X
Solaris
Windows
Linux
Data schemeyesyesyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyesnono
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.yesyesnono
Secondary indexesyesyesyesnono
SQL infoSupport of SQLyes infoclose to SQL 92yesyes infowith proprietary extensionsnono
APIs and other access methodsODBC
RESTful HTTP API infoby using 4D Mobile
SOAP webservices
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
Proprietary native API
C++ API
Java API
Supported programming languages4D proprietary IDE
PHP
C
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
Java
Kotlin
Scala
Server-side scripts infoStored proceduresyesyesyes infoproprietary syntaxnono
Triggersyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioningnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationyes infowith separate tools (MQ, InfoSphere)Multi-source replication
Source-replica replication
yesnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyes infonot for MyISAM storage enginenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID infonot for MyISAM storage engineyesAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyes
User concepts infoAccess controlUsers and groupsfine 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

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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» 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
4D infoformer name: 4th DimensionIBM Db2 infoformerly named DB2 or IBM Database 2MySQLRocksDBSwayDB
DB-Engines blog posts

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

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

Performance optimization of full load and ongoing replication tasks from self-managed Db2 to Amazon RDS for Db2 ...
24 April 2024, AWS Blog

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks and Files

Celebrating 40 years of Db2: Running the world's mission critical workloads
11 September 2023, IBM

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

provided by Google News

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

Rule::array() and whereJsonOverlaps() for MySQL in Laravel 11.7
7 May 2024, Laravel 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

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

Ultimate MySQL Workbench Installation Guide [2024 Edition]
15 February 2024, Simplilearn

provided by Google News

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

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

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

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

Power your Kafka Streams application with Amazon MSK and AWS Fargate | Amazon Web Services
10 August 2021, 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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here