DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Badger vs. H2 vs. HyperSQL vs. LokiJS vs. TerarkDB

System Properties Comparison Badger vs. H2 vs. HyperSQL vs. LokiJS vs. TerarkDB

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonLokiJS  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.Full-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 DBMSA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelKey-value storeRelational DBMSRelational DBMSDocument storeKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.14
Rank#331  Overall
#49  Key-value stores
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score3.49
Rank#87  Overall
#47  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitegithub.com/­dgraph-io/­badgerwww.h2database.comhsqldb.orggithub.com/­techfort/­LokiJSgithub.com/­bytedance/­terarkdb
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerwww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmltechfort.github.io/­LokiJSbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperDGraph LabsThomas MuellerByteDance, originally Terark
Initial release20172005200120142016
Current release2.2.220, July 20232.7.2, June 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licenseOpen Sourcecommercial inforestricted open source version available
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 languageGoJavaJavaJavaScriptC++
Server operating systemsBSD
Linux
OS X
Solaris
Windows
All 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)
Data schemeschema-freeyesyesschema-freeschema-free
Typing infopredefined data types such as float or datenoyesyesnono
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 indexesnoyesyesyes infovia viewsno
SQL infoSupport of SQLnoyesyesnono
APIs and other access methodsJDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
JavaScript APIC++ API
Java API
Supported programming languagesGoJavaAll languages supporting JDBC/ODBC
Java
JavaScriptC++
Java
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsJava, SQLView functions in JavaScriptno
Triggersnoyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonenonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneWith clustering: 2 database servers on different computers operate on identical copies of a databasenonenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integritynoyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDno infoatomic operations within a single collection possibleno
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyesyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardfine grained access rights according to SQL-standardnono

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
BadgerH2HyperSQL infoalso known as HSQLDBLokiJSTerarkDB
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

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

A Chinese company is making the cloud 200x faster ยท TechNode
3 July 2017, TechNode

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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

Present your product here