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. Sphinx vs. StarRocks

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonLokiJS  Xexclude from comparisonSphinx  Xexclude from comparisonStarRocks  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 DBMSOpen source search engine for searching in data from different sources, e.g. relational databasesAn open source, high-performance columnar analytical database that enables real-time, multi-dimensional, and highly concurrent data analytics infoForked from Apache Doris
Primary database modelRelational DBMSDocument storeSearch engineRelational DBMS
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Score5.95
Rank#55  Overall
#5  Search engines
Score0.93
Rank#198  Overall
#93  Relational DBMS
Websitewww.h2database.comgithub.com/­techfort/­LokiJSsphinxsearch.comwww.starrocks.io
Technical documentationwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSsphinxsearch.com/­docsdocs.starrocks.io/­en-us/­latest/­introduction/­StarRocks_intro
DeveloperThomas MuellerSphinx Technologies Inc.The Linux Foundation infosince Feb 2023
Initial release2005201420012020
Current release2.2.220, July 20233.5.1, February 20232.5.3, March 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoGPL version 2, commercial licence availableOpen Source infoApache Version 2.0
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.
Implementation languageJavaJavaScriptC++C++, Java
Server operating systemsAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Linux
Data schemeyesschema-freeyesyes
Typing infopredefined data types such as float or dateyesnonoyes
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.nonono
Secondary indexesyesyes infovia viewsyes infofull-text index on all search fieldsyes
SQL infoSupport of SQLyesnoSQL-like query language (SphinxQL)yes
APIs and other access methodsJDBC
ODBC
JavaScript APIProprietary protocolJDBC
MySQL protocol
Supported programming languagesJavaJavaScriptC++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Java
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptnouser defined functions
Triggersyesyesnono
Partitioning methods infoMethods for storing different data on different nodesnonenoneSharding infoPartitioning is done manually, search queries against distributed index is supportedhorizontal partitioning (by range and hash)
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databasenonenone
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 integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infoatomic operations within a single collection possiblenono
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
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.yes infoThe original contents of fields are not stored in the Sphinx index.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardnonoRole based access control and fine grained access rights

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

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

More resources
H2LokiJSSphinxStarRocks
DB-Engines blog posts

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

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

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

Beyond the Concert Hall: 5 Organizations Making a Difference in Classical Music in 2018 | WQXR Editorial
22 December 2018, WQXR Radio

provided by Google News

StarRocks analytical DB heads to Linux Foundation
14 February 2023, VentureBeat

StarRocks Brings Speedy OLAP Database to the Cloud
14 July 2022, Datanami

StarRocks' real-time analytics engine moves to the cloud
14 July 2022, SiliconANGLE News

StarRocks Launches Beta of Cloud Service for Its Analytics Engine
15 July 2022, The New Stack

StarRocks launches managed DBaaS for real-time analytics
14 July 2022, InfoWorld

provided by Google News



Share this page

Featured Products

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

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