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

DBMS > AlaSQL vs. Derby vs. Ehcache vs. EJDB vs. LokiJS

System Properties Comparison AlaSQL vs. Derby vs. Ehcache vs. EJDB vs. LokiJS

Editorial information provided by DB-Engines
NameAlaSQL  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonEhcache  Xexclude from comparisonEJDB  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionJavaScript DBMS libraryFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.A widely adopted Java cache with tiered storage optionsEmbeddable document-store database library with JSON representation of queries (in MongoDB style)In-memory JavaScript DBMS
Primary database modelDocument store
Relational DBMS
Relational DBMSKey-value storeDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.46
Rank#260  Overall
#40  Document stores
#121  Relational DBMS
Score4.71
Rank#69  Overall
#37  Relational DBMS
Score4.89
Rank#67  Overall
#8  Key-value stores
Score0.27
Rank#297  Overall
#44  Document stores
Score0.43
Rank#264  Overall
#42  Document stores
Websitealasql.orgdb.apache.org/­derbywww.ehcache.orggithub.com/­Softmotions/­ejdbgithub.com/­techfort/­LokiJS
Technical documentationgithub.com/­AlaSQL/­alasqldb.apache.org/­derby/­manuals/­index.htmlwww.ehcache.org/­documentationgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdtechfort.github.io/­LokiJS
DeveloperAndrey Gershun & Mathias R. WulffApache Software FoundationTerracotta Inc, owned by Software AGSoftmotions
Initial release20141997200920122014
Current release10.17.1.0, November 20233.10.0, March 2022
License infoCommercial or Open SourceOpen Source infoMIT-LicenseOpen Source infoApache version 2Open Source infoApache Version 2; commercial licenses availableOpen Source infoGPLv2Open 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 languageJavaScriptJavaJavaCJavaScript
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)All OS with a Java VMAll OS with a Java VMserver-lessserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeyesschema-freeschema-freeschema-free
Typing infopredefined data types such as float or datenoyesyesyes infostring, integer, double, bool, date, object_idno
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.noyesnono
Secondary indexesnoyesnonoyes infovia views
SQL infoSupport of SQLClose to SQL99, but no user access control, stored procedures and host language bindings.yesnonono
APIs and other access methodsJavaScript APIJDBCJCachein-process shared libraryJavaScript API
Supported programming languagesJavaScriptJavaJavaActionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
JavaScript
Server-side scripts infoStored proceduresnoJava Stored ProceduresnonoView functions in JavaScript
Triggersyesyesyes infoCache Event Listenersnoyes
Partitioning methods infoMethods for storing different data on different nodesnonenoneSharding infoby using Terracotta Servernonenone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-replica replicationyes infoby using Terracotta Servernonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyTunable Consistency (Strong, Eventual, Weak)none
Foreign keys infoReferential integrityyesyesnono infotypically not needed, however similar functionality with collection joins possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infoonly for local storage and DOM-storageACIDyes infosupports JTA and can work as an XA resourcenono infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoRead/Write Locking
Durability infoSupport for making data persistentyes infoby using IndexedDB, SQL.JS or proprietary FileStorageyesyes infousing a tiered cache-storage approachyesyes 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.yesyesyesyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardnonono

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
AlaSQLDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBEhcacheEJDBLokiJS
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

Create a Marvel Database with SQL and Javascript, the easy way
2 July 2019, Towards Data Science

HarperDB - How and Why We Built It From The Ground Up on NodeJS
28 February 2021, hackernoon.com

Multi faceted data exploration in the browser using Leaflet and amCharts
3 May 2020, Towards Data Science

provided by Google News

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

Top Database Tools for Java Developers in 2023
17 November 2023, TechRepublic

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Arrival of Java 20
21 March 2023, Oracle

No, Citrix did not kill CloudStack
15 September 2014, InfoWorld

provided by Google News

Jira Data Center user? Here's a critical Ehcache vulnerability to spoil your day
22 July 2021, The Register

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.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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

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

Present your product here