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

DBMS > H2 vs. LokiJS vs. MySQL vs. Solr vs. Trino

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

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonLokiJS  Xexclude from comparisonMySQL  Xexclude from comparisonSolr  Xexclude from comparisonTrino  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 RDBMSA widely used distributed, scalable search engine based on Apache LuceneFast distributed SQL query engine for big data analytics. Forked from Presto and originally named PrestoSQL
Primary database modelRelational DBMSDocument storeRelational DBMS infoKey/Value like access via memcached APISearch engineRelational DBMS
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
Spatial DBMSDocument store
Key-value store
Spatial DBMS
Search engine
Time Series DBMS
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
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
Score5.00
Rank#66  Overall
#36  Relational DBMS
Websitewww.h2database.comgithub.com/­techfort/­LokiJSwww.mysql.comsolr.apache.orgtrino.io
Technical documentationwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSdev.mysql.com/­docsolr.apache.org/­resources.htmltrino.io/­broadcast
trino.io/­docs/­current
Social network pagesLinkedInTwitterYouTubeGitHub
DeveloperThomas MuellerOracle infosince 2010, originally MySQL AB, then SunApache Software FoundationTrino Software Foundation
Initial release20052014199520062012 info2020 rebranded from PrestoSQL
Current release2.2.220, July 20238.4.0, April 20249.6.0, April 2024
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 infoApache Version 2Open Source infoApache Version 2.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.Starburst Galaxy offers a feature-rich user interface to connect all your data sources, manage your Trino clusters, and query your data.
Implementation languageJavaJavaScriptC and C++JavaJava
Server operating systemsAll 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)Linux
macOS infofor devlopment
Data schemeyesschema-freeyesyes infoDynamic Fields enables on-the-fly addition of new fieldsyes
Typing infopredefined data types such as float or dateyesnoyesyes infosupports customizable data types and automatic typingyes
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.nonoyesyesno
Secondary indexesyesyes infovia viewsyesyes infoAll search fields are automatically indexeddepending on connected data-source
SQL infoSupport of SQLyesnoyes infowith proprietary extensionsSolr Parallel SQL Interfaceyes
APIs and other access methodsJDBC
ODBC
JavaScript APIADO.NET
JDBC
ODBC
Proprietary native API
Java API
RESTful HTTP/JSON API
JDBC
RESTful HTTP API
Trino CLI
Supported programming languagesJavaJavaScriptAda
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
Go
Java
JavaScript (Node.js)
Python
R
Ruby
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptyes infoproprietary syntaxJava pluginsyes, depending on connected data-source
Triggersyesyesyesyes infoUser configurable commands triggered on index changesno
Partitioning methods infoMethods for storing different data on different nodesnonenonehorizontal partitioning, sharding with MySQL Cluster or MySQL FabricShardingdepending on connected data-source
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
yesdepending on connected data-source
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnospark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reduceno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate ConsistencyEventual Consistencydepending on connected data-source
Foreign keys infoReferential integrityyesnoyes infonot for MyISAM storage enginenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infoatomic operations within a single collection possibleACID infonot for MyISAM storage engineoptimistic lockingdepending on connected data-source
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyesyes
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.yesyesdepending on connected data-source
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-standardnoUsers with fine-grained authorization concept infono user groups or rolesyesSQL standard access control
More information provided by the system vendor
H2LokiJSMySQLSolrTrino
Specific characteristicsTrino is the fastest open source, massively parallel processing SQL query engine...
» more
Competitive advantagesHigh performance analtyics and data processing of very large data sets Powerful ANSI...
» more
Typical application scenariosPerformant analytics query engine for data warehouses, data lakes, and data lakehouses...
» more
Key customersTrino is widely adopted across the globe as freely-available open source software....
» more
Market metrics33000+ commits in GitHub 8200+ stargazers in GitHub 1200+ pull requests merged in...
» more
Licensing and pricing modelsTrino is an open source project and usage is therefore free. Commercial offerings...
» more
News

Big names round out the Trino Fest 2024 lineup
8 May 2024

59: Querying Trino with Java and jOOQ
24 April 2024

A sneak peek of Trino Fest 2024
15 April 2024

Time travel in Delta Lake connector
11 April 2024

58: Understanding your users with Trino and Mitzu
4 April 2024

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

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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

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

More resources
H2LokiJSMySQLSolrTrino
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

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

The Perfect AI Storage: Trino From Facebook And Iceberg From Netflix?
30 April 2024, The Next Platform

Starburst Brings Dataframes Into Trino Platform
7 September 2023, Datanami

Query big data with resilience using Trino in Amazon EMR with Amazon EC2 Spot Instances for less cost | Amazon ...
4 October 2023, AWS Blog

Trino: The Open-source Data Query Engine That Split from Facebook
30 March 2022, hackernoon.com

A look at Presto, Trino SQL query engines
9 August 2022, TechTarget

provided by Google News



Share this page

Featured Products

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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Milvus logo

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

Neo4j logo

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

Present your product here