DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > H2 vs. HyperSQL vs. LokiJS vs. SingleStore vs. StarRocks

System Properties Comparison H2 vs. HyperSQL vs. LokiJS vs. SingleStore vs. StarRocks

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonLokiJS  Xexclude from comparisonSingleStore infoformer name was MemSQL  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.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBIn-memory JavaScript DBMSMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table typeAn 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 DBMSRelational DBMSDocument storeRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
Time Series DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score3.49
Rank#87  Overall
#47  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Score5.60
Rank#62  Overall
#35  Relational DBMS
Score1.04
Rank#189  Overall
#88  Relational DBMS
Websitewww.h2database.comhsqldb.orggithub.com/­techfort/­LokiJSwww.singlestore.comwww.starrocks.io
Technical documentationwww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmltechfort.github.io/­LokiJSdocs.singlestore.comdocs.starrocks.io/­en-us/­latest/­introduction/­StarRocks_intro
DeveloperThomas MuellerSingleStore Inc.The Linux Foundation infosince Feb 2023
Initial release20052001201420132020
Current release2.2.220, July 20232.7.2, June 20238.5, January 20242.5.3, March 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licenseOpen Sourcecommercial infofree developer edition availableOpen 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.
SingleStoreDB Cloud: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilities
Implementation languageJavaJavaJavaScriptC++, GoC++, Java
Server operating systemsAll OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesserver-less, requires a JavaScript environment (browser, Node.js)Linux info64 bit version requiredLinux
Data schemeyesyesschema-freeyesyes
Typing infopredefined data types such as float or dateyesyesnoyesyes
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.nonononono
Secondary indexesyesyesyes infovia viewsyesyes
SQL infoSupport of SQLyesyesnoyes infobut no triggers and foreign keysyes
APIs and other access methodsJDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
JavaScript APICluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
JDBC
MySQL protocol
Supported programming languagesJavaAll languages supporting JDBC/ODBC
Java
JavaScriptBash
C
C#
Java
JavaScript (Node.js)
Python
Java
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsJava, SQLView functions in JavaScriptyesuser defined functions
Triggersyesyesyesnono
Partitioning methods infoMethods for storing different data on different nodesnonenonenoneSharding infohash partitioninghorizontal 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 databasenonenoneSource-replica replication infostores two copies of each physical data partition on two separate nodes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno infocan define user-defined aggregate functions for map-reduce-style calculationsno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencynoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infoatomic operations within a single collection possibleACIDno
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes, multi-version concurrency control (MVCC)yes
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.yes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardnoFine grained access control via users, groups and rolesRole based access control and fine grained access rights
More information provided by the system vendor
H2HyperSQL infoalso known as HSQLDBLokiJSSingleStore infoformer name was MemSQLStarRocks
Specific characteristicsSingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» more
Competitive advantagesSingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» more
Typical application scenariosDriving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» more
Key customersIEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Market metricsCustomers in various industries worldwide including US and International Industry...
» more
Licensing and pricing modelsF ree Tier and Enterprise Edition
» more

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
H2HyperSQL infoalso known as HSQLDBLokiJSSingleStore infoformer name was MemSQLStarRocks
DB-Engines blog posts

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

show all

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Recent citations in the news

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

LokiJS Reaches 1.4
8 July 2016, iProgrammer

provided by Google News

SingleStore CEO sees little future for purpose-built vector databases
24 January 2024, VentureBeat

SingleStore Announces Real-time Data Platform to Further Accelerate AI, Analytics and Application Development
24 January 2024, Business Wire

Building a Modern Database: Nikita Shamgunov on Postgres and Beyond
17 April 2024, Madrona Venture Group

SingleStore adds indexed vector search to Pro Max release for faster AI work – Blocks and Files
29 January 2024, Blocks & Files

Announcing watsonx.ai and SingleStore for generative AI applications
15 November 2023, IBM

provided by Google News

CelerData: How This Company Reduces Data Migration And Direct Analysis Costs In Data Lakes
21 December 2023, Pulse 2.0

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

CelerData Contributes StarRocks to the Linux Foundation
14 February 2023, Datanami

StarRocks brings open source OLAP database to the cloud
14 July 2022, TechTarget

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

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

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

Present your product here