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 > IBM Db2 vs. MySQL vs. SQL.JS vs. SQLite vs. Stardog

System Properties Comparison IBM Db2 vs. MySQL vs. SQL.JS vs. SQLite vs. Stardog

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMySQL  Xexclude from comparisonSQL.JS  Xexclude from comparisonSQLite  Xexclude from comparisonStardog  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxWidely used open source RDBMSPort of SQLite to JavaScriptWidely used embeddable, in-process RDBMSEnterprise Knowledge Graph platform and graph DBMS with high availability, high performance reasoning, and virtualization
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS infoKey/Value like access via memcached APIRelational DBMSRelational DBMSGraph DBMS
RDF 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
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score0.53
Rank#252  Overall
#116  Relational DBMS
Score114.32
Rank#10  Overall
#7  Relational DBMS
Score2.02
Rank#123  Overall
#11  Graph DBMS
#6  RDF stores
Websitewww.ibm.com/­products/­db2www.mysql.comsql.js.orgwww.sqlite.orgwww.stardog.com
Technical documentationwww.ibm.com/­docs/­en/­db2dev.mysql.com/­docsql.js.org/­documentation/­index.htmlwww.sqlite.org/­docs.htmldocs.stardog.com
DeveloperIBMOracle infosince 2010, originally MySQL AB, then SunAlon Zakai infoenhancements implemented by othersDwayne Richard HippStardog-Union
Initial release1983 infohost version1995201220002010
Current release12.1, October 20168.4.0, April 20243.45.3  (15 April 2024), April 20247.3.0, May 2020
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen SourceOpen Source infoPublic Domaincommercial info60-day fully-featured trial license; 1-year fully-featured non-commercial use license for academics/students
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++JavaScriptCJava
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
OS X
Solaris
Windows
server-less, requires a JavaScript environment (browser, Node.js)server-lessLinux
macOS
Windows
Data schemeyesyesyesyes infodynamic column typesschema-free and OWL/RDFS-schema support
Typing infopredefined data types such as float or dateyesyesyesyes infonot rigid because of 'dynamic typing' concept.yes
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.yesnonono infoImport/export of XML data possible
Secondary indexesyesyesyesyes infosupports real-time indexing in full-text and geospatial
SQL infoSupport of SQLyesyes infowith proprietary extensionsyes infoSQL-92 is not fully supportedyes infoSQL-92 is not fully supportedYes, compatible with all major SQL variants through dedicated BI/SQL Server
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
Proprietary native API
JavaScript APIADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
GraphQL query language
HTTP API
Jena RDF API
OWL
RDF4J API
Sesame REST HTTP Protocol
SNARL
SPARQL
Spring Data
Stardog Studio
TinkerPop 3
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
JavaScriptActionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
.Net
Clojure
Groovy
Java
JavaScript
Python
Ruby
Server-side scripts infoStored proceduresyesyes infoproprietary syntaxnonouser defined functions and aggregates, HTTP Server extensions in Java
Triggersyesyesnoyesyes infovia event handlers
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricnonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Multi-source replication
Source-replica replication
nonenoneMulti-source replication in HA-Cluster
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate Consistency in HA-Cluster
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engineyesyesyes inforelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes infovia file-system locksyes
Durability infoSupport for making data persistentyesyesno infoexcept by serializing a db to a fileyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or rolesnonoAccess rights for users and 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 Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

Navicat 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 for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» 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 2MySQLSQL.JSSQLiteStardog
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

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

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

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

Precisely supports Amazon RDS for Db2 Service
3 May 2024, E3-Magazin

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

provided by Google 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

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, blogs.oracle.com

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

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

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

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024 — SitePoint
22 March 2023, SitePoint

Execute millions of SQL statements in milliseconds in the browser with WebAssembly and Web Workers.
14 January 2017, hackernoon.com

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

Running PostgreSQL Inside Your Browser
8 September 2022, iProgrammer

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

Fully local retrieval-augmented generation, step by step
10 April 2024, InfoWorld

SQLite's new support for binary JSON is similar but different from a PostgreSQL feature • DEVCLASS
16 January 2024, DevClass

Universal API Access from Postgres and SQLite
27 February 2024, O'Reilly Media

A Closer Look at the Top 3 Embedded Databases: SQLite, RocksDB, and DuckDB
29 August 2023, hackernoon.com

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

AllegroGraph logo

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

RaimaDB logo

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

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