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 > Ehcache vs. H2 vs. HugeGraph vs. HyperSQL vs. LokiJS

System Properties Comparison Ehcache vs. H2 vs. HugeGraph vs. HyperSQL vs. LokiJS

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonH2  Xexclude from comparisonHugeGraph  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.A fast-speed and highly-scalable Graph DBMSMultithreaded, transactional RDBMS written in Java infoalso known as HSQLDBIn-memory JavaScript DBMS
Primary database modelKey-value storeRelational DBMSGraph DBMSRelational DBMSDocument store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.89
Rank#67  Overall
#8  Key-value stores
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score0.13
Rank#336  Overall
#32  Graph DBMS
Score3.49
Rank#87  Overall
#47  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Websitewww.ehcache.orgwww.h2database.comgithub.com/­hugegraph
hugegraph.apache.org
hsqldb.orggithub.com/­techfort/­LokiJS
Technical documentationwww.ehcache.org/­documentationwww.h2database.com/­html/­main.htmlhugegraph.apache.org/­docshsqldb.org/­web/­hsqlDocsFrame.htmltechfort.github.io/­LokiJS
DeveloperTerracotta Inc, owned by Software AGThomas MuellerBaidu
Initial release20092005201820012014
Current release3.10.0, March 20222.2.220, July 20230.92.7.2, June 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoApache Version 2.0Open Source infobased on BSD licenseOpen Source
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.
Implementation languageJavaJavaJavaJavaJavaScript
Server operating systemsAll OS with a Java VMAll OS with a Java VMLinux
macOS
Unix
All OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyesno
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 indexesnoyesyes infoalso supports composite index and range indexyesyes infovia views
SQL infoSupport of SQLnoyesnoyesno
APIs and other access methodsJCacheJDBC
ODBC
Java API
RESTful HTTP API
TinkerPop Gremlin
HTTP API infoJDBC via HTTP
JDBC
ODBC
JavaScript API
Supported programming languagesJavaJavaGroovy
Java
Python
All languages supporting JDBC/ODBC
Java
JavaScript
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsasynchronous Gremlin script jobsJava, SQLView functions in JavaScript
Triggersyes infoCache Event Listenersyesnoyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta Servernoneyes infodepending on used storage backend, e.g. Cassandra and HBasenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServerWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infodepending on used storage backend, e.g. Cassandra and HBasenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonovia hugegraph-sparknoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Immediate ConsistencyEventual ConsistencyImmediate Consistencynone
Foreign keys infoReferential integritynoyesyes infoedges in graphyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourceACIDACIDACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesyesyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardUsers, roles and permissionsfine grained access rights according to SQL-standardno

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
EhcacheH2HugeGraphHyperSQL infoalso known as HSQLDBLokiJS
DB-Engines blog posts

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

show all

Recent citations in the news

Atlassian asks customers to patch critical Jira vulnerability
22 July 2021, BleepingComputer

Critical Jira Flaw in Atlassian Could Lead to RCE
22 July 2021, Threatpost

DZone Coding Java JBoss 5 to 7 in 11 steps
9 January 2014, DZone

provided by Google News

Critical Apache HugeGraph Flaw Let Attackers Execute Remote Code
23 April 2024, GBHackers

provided by Google 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

provided by Google News



Share this page

Featured Products

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

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

SingleStore logo

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

Neo4j logo

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

Present your product here