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. LokiJS vs. MySQL vs. Sphinx

System Properties Comparison IBM Db2 vs. LokiJS vs. MySQL 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 comparisonLokiJS  Xexclude from comparisonMySQL  Xexclude from comparisonSphinx  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxIn-memory JavaScript DBMSWidely used open source RDBMSOpen 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 MongoDBDocument storeRelational DBMS infoKey/Value like access via memcached APISearch 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
Score149.66
Rank#8  Overall
#5  Relational DBMS
Score0.66
Rank#240  Overall
#38  Document stores
Score1205.38
Rank#2  Overall
#2  Relational DBMS
Score7.12
Rank#62  Overall
#8  Search engines
Websitewww.ibm.com/­analytics/­db2github.com/­techfort/­LokiJSwww.mysql.comsphinxsearch.com
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGtechfort.github.io/­LokiJSdev.mysql.com/­docsphinxsearch.com/­docs
DeveloperIBMOracle infosince 2010, originally MySQL AB, then SunSphinx Technologies Inc.
Initial release1983 infohost version201419952001
Current release12.1, October 20168.0.30, July 20223.4.1, July 2021
License infoCommercial or Open Sourcecommercial infofree version is availableOpen SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen 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.
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++JavaScriptC and C++C++
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
server-less, requires a JavaScript environment (browser, Node.js)FreeBSD
Linux
OS X
Solaris
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeyesschema-freeyesyes
Typing infopredefined data types such as float or dateyesnoyesno
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.noyes
Secondary indexesyesyes infovia viewsyesyes infofull-text index on all search fields
SQL infoSupport of SQLyesnoyes infowith proprietary extensionsSQL-like query language (SphinxQL)
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
JavaScript APIADO.NET
JDBC
ODBC
Proprietary native API
Proprietary protocol
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
JavaScriptAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Server-side scripts infoStored proceduresyesView functions in JavaScriptyes infoproprietary syntaxno
Triggersyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionnonehorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding 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)noneMulti-source replication
Source-replica replication
none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate Consistency
Foreign keys infoReferential integrityyesnoyes infonot for MyISAM storage engineno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infoatomic operations within a single collection possibleACID infonot for MyISAM storage engineno
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyes 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-standardnoUsers with fine-grained authorization concept infono user groups or rolesno

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 partiesSQLFlow: 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

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

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

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

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

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration 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 2LokiJSMySQLSphinx
DB-Engines blog posts

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

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

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

show all

Recent citations in the news

From DB2 to Real-Time with Aerospike Founder Srini Srinivasan
8 September 2022, thenewstack.io

Open source databases: What are they and why do they matter?
5 September 2022, The Register

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

Arcion Announces Agentless Change Data Capture for Azure, SQL Server, Oracle, SAP HANA, and MySQL
28 September 2022, StreetInsider.com

IBM Power10 Shreds Ice Lake Xeons For Transaction Processing
7 September 2022, The Next Platform

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

Oracle Announces MySQL HeatWave on AWS
30 September 2022, CXOToday.com

Oracle brings its souped-up MySQL database to the Amazon cloud
12 September 2022, SiliconANGLE News

mariadb vs. MySQL
12 September 2022, Database Journal

How to Migrate an Oracle Database to MySQL Using AWS Database Migration Service
7 September 2022, InfoQ.com

oneAPI Tools Enhance Performance of TencentDB for MySQL
1 September 2022, Investor Relations :: Intel Corporation (INTC)

provided by Google News

Job opportunities

Entry Level to Senior Level Database Administrators
Agiletal, Herndon, VA

Database Administrator: DB2 LUW
IBM, Bloomington, IL

2023 Entry Level Global Information Systems
Caterpillar, Illinois

Database Developer- DB2
Morgan Stanley, Alpharetta, GA

Entry Level to Senior Level Database Administrators
VEN SOFT, Chantilly, VA

A&R Representative
OtterTune, United States

Front-end WordPress Developer
Flawless Website Design, Remote

LAMP Developer (Linux, Apache, MySQL, PHP)
Vy Technology, Remote

 PHP/MySQL Developer
Third Rock, Austin, TX

Laravel Developer
Flywheel Technology, Remote

jobs by Indeed



Share this page

Featured Products

Neo4j logo

Neo4j NODES 2022
Free online conference for developers and data scientists.
November 16/17 2022.
Register now for free!

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Redis logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Vertica logo

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

Present your product here