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

System Properties Comparison H2 vs. LokiJS vs. MySQL vs. Sphinx

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonLokiJS  Xexclude from comparisonMySQL  Xexclude from comparisonSphinx  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSWidely used open source RDBMSOpen source search engine for searching in data from different sources, e.g. relational databases
Primary database modelRelational DBMSDocument storeRelational DBMS infoKey/Value like access via memcached APISearch engine
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score0.48
Rank#262  Overall
#42  Document stores
Score1087.72
Rank#2  Overall
#2  Relational DBMS
Score6.03
Rank#60  Overall
#6  Search engines
Websitewww.h2database.comgithub.com/­techfort/­LokiJSwww.mysql.comsphinxsearch.com
Technical documentationwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSdev.mysql.com/­docsphinxsearch.com/­docs
DeveloperThomas MuellerOracle infosince 2010, originally MySQL AB, then SunSphinx Technologies Inc.
Initial release2005201419952001
Current release2.2.220, July 20238.3.0, January 20243.5.1, February 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open 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.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageJavaJavaScriptC and C++C++
Server operating systemsAll OS with a Java VMserver-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.nonoyes
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 methodsJDBC
ODBC
JavaScript APIADO.NET
JDBC
ODBC
Proprietary native API
Proprietary protocol
Supported programming languagesJavaJavaScriptAda
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 proceduresJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptyes infoproprietary syntaxno
Triggersyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonehorizontal 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 nodesWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneMulti-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 systemImmediate ConsistencynoneImmediate 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 datayes, multi-version concurrency control (MVCC)yes 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.yesyesyes
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 partiesAiven 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

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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
H2LokiJSMySQLSphinx
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

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

PostgreSQL or MySQL: What Should I Choose for My Full-Stack Project?
10 April 2024, hackernoon.com

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

General Availability: Azure MySQL Import feature for Azure Database for MySQL Single to Flexible Server migrations ...
17 January 2024, azure.microsoft.com

Best Practices for Configuring MySQL Replication
26 March 2024, DevOps.com

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

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 Googles 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

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Neo4j logo

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

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

Present your product here