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

System Properties Comparison Derby vs. H2 vs. LokiJS vs. MySQL vs. Solr

Editorial information provided by DB-Engines
NameDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparisonMySQL  Xexclude from comparisonSolr  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Full-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 RDBMSA widely used distributed, scalable search engine based on Apache Lucene
Primary database modelRelational DBMSRelational DBMSDocument storeRelational DBMS infoKey/Value like access via memcached APISearch engine
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.71
Rank#69  Overall
#37  Relational DBMS
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score42.91
Rank#24  Overall
#3  Search engines
Websitedb.apache.org/­derbywww.h2database.comgithub.com/­techfort/­LokiJSwww.mysql.comsolr.apache.org
Technical documentationdb.apache.org/­derby/­manuals/­index.htmlwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSdev.mysql.com/­docsolr.apache.org/­resources.html
DeveloperApache Software FoundationThomas MuellerOracle infosince 2010, originally MySQL AB, then SunApache Software Foundation
Initial release19972005201419952006
Current release10.17.1.0, November 20232.2.220, July 20238.4.0, April 20249.6.0, April 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoApache Version 2
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 languageJavaJavaJavaScriptC and C++Java
Server operating systemsAll OS with a Java VMAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)FreeBSD
Linux
OS X
Solaris
Windows
All OS with a Java VM inforuns as a servlet in servlet container (e.g. Tomcat, Jetty is included)
Data schemeyesyesschema-freeyesyes infoDynamic Fields enables on-the-fly addition of new fields
Typing infopredefined data types such as float or dateyesyesnoyesyes infosupports customizable data types and automatic typing
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.yesnonoyesyes
Secondary indexesyesyesyes infovia viewsyesyes infoAll search fields are automatically indexed
SQL infoSupport of SQLyesyesnoyes infowith proprietary extensionsSolr Parallel SQL Interface
APIs and other access methodsJDBCJDBC
ODBC
JavaScript APIADO.NET
JDBC
ODBC
Proprietary native API
Java API
RESTful HTTP/JSON API
Supported programming languagesJavaJavaJavaScriptAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
Erlang
Java
JavaScript
any language that supports sockets and either XML or JSON
Perl
PHP
Python
Ruby
Scala
Server-side scripts infoStored proceduresJava Stored ProceduresJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptyes infoproprietary syntaxJava plugins
Triggersyesyesyesyesyes infoUser configurable commands triggered on index changes
Partitioning methods infoMethods for storing different data on different nodesnonenonenonehorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneMulti-source replication
Source-replica replication
yes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnospark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reduce
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencynoneImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesyesnoyes infonot for MyISAM storage engineno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infoatomic operations within a single collection possibleACID infonot for MyISAM storage engineoptimistic locking
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardnoUsers with fine-grained authorization concept infono user groups or rolesyes

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

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

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

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
Derby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBH2LokiJSMySQLSolr
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

Elasticsearch replaced Solr as the most popular search engine
12 January 2016, Paul Andlinger

Enterprise Search Engines almost double their popularity in the last 12 months
2 July 2014, Paul Andlinger

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

show all

Recent citations in the news

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

Top Database Tools for Java Developers in 2023
17 November 2023, TechRepublic

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Arrival of Java 20
21 March 2023, Oracle

The ApacheĀ® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

How to Sync Data From MySQL to Doris Using SeaTunnel
9 May 2024, hackernoon.com

Rule::array() and whereJsonOverlaps() for MySQL in Laravel 11.7
7 May 2024, Laravel News

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

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

provided by Google News

SOLR-led walkout demands better conditions for Compass workers
27 February 2024, Daily Northwestern

(SOLR) Technical Pivots with Risk Controls
28 April 2024, Stock Traders Daily

Best Practices from Rackspace for Modernizing a Legacy HBase/Solr Architecture Using AWS Services | Amazon Web ...
9 October 2023, AWS Blog

SOLR hosts teach-in of labor movements at Northwestern
28 January 2024, Daily Northwestern

SearchStax Launches Serverless Solr Service to Accelerate Cloud-Native Application Development
5 April 2023, PR Newswire

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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.

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Present your product here