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. EJDB vs. HyperSQL vs. LokiJS

System Properties Comparison Ehcache vs. EJDB vs. HyperSQL vs. LokiJS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonEJDB  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsEmbeddable document-store database library with JSON representation of queries (in MongoDB style)Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBIn-memory JavaScript DBMS
Primary database modelKey-value storeDocument storeRelational DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.23
Rank#68  Overall
#8  Key-value stores
Score0.30
Rank#294  Overall
#44  Document stores
Score3.90
Rank#85  Overall
#46  Relational DBMS
Score0.48
Rank#262  Overall
#42  Document stores
Websitewww.ehcache.orggithub.com/­Softmotions/­ejdbhsqldb.orggithub.com/­techfort/­LokiJS
Technical documentationwww.ehcache.org/­documentationgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdhsqldb.org/­web/­hsqlDocsFrame.htmltechfort.github.io/­LokiJS
DeveloperTerracotta Inc, owned by Software AGSoftmotions
Initial release2009201220012014
Current release3.10.0, March 20222.7.2, June 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoGPLv2Open Source infobased on BSD licenseOpen Source
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 languageJavaCJavaJavaScript
Server operating systemsAll OS with a Java VMserver-lessAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, bool, date, object_idyesno
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 indexesnonoyesyes infovia views
SQL infoSupport of SQLnonoyesno
APIs and other access methodsJCachein-process shared libraryHTTP API infoJDBC via HTTP
JDBC
ODBC
JavaScript API
Supported programming languagesJavaActionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
All languages supporting JDBC/ODBC
Java
JavaScript
Server-side scripts infoStored proceduresnonoJava, SQLView functions in JavaScript
Triggersyes infoCache Event Listenersnoyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta Servernonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta Servernonenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Immediate Consistencynone
Foreign keys infoReferential integritynono infotypically not needed, however similar functionality with collection joins possibleyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourcenoACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes infoRead/Write Lockingyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyesyes 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.yesyesyes
User concepts infoAccess controlnonofine 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
EhcacheEJDBHyperSQL 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

Migration From JBoss 5 to JBoss 7: All It Takes Is 11 Easy Steps
3 June 2021, hackernoon.com

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

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

Milvus logo

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

SingleStore logo

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

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Neo4j logo

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

Present your product here