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 > Badger vs. H2 vs. LokiJS vs. TerarkDB

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonH2  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.In-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 DBMSDocument storeKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.22
Rank#320  Overall
#47  Key-value stores
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Score0.08
Rank#367  Overall
#56  Key-value stores
Websitegithub.com/­dgraph-io/­badgerwww.h2database.comgithub.com/­techfort/­LokiJSgithub.com/­bytedance/­terarkdb
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperDGraph LabsThomas MuellerByteDance, originally Terark
Initial release2017200520142016
Current release2.2.220, July 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Sourcecommercial inforestricted open source version available
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 languageGoJavaJavaScriptC++
Server operating systemsBSD
Linux
OS X
Solaris
Windows
All OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeyesschema-freeschema-free
Typing infopredefined data types such as float or datenoyesnono
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.nononono
Secondary indexesnoyesyes infovia viewsno
SQL infoSupport of SQLnoyesnono
APIs and other access methodsJDBC
ODBC
JavaScript APIC++ API
Java API
Supported programming languagesGoJavaJavaScriptC++
Java
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptno
Triggersnoyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneWith clustering: 2 database servers on different computers operate on identical copies of a databasenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate Consistencynone
Foreign keys infoReferential integritynoyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDno infoatomic operations within a single collection possibleno
Concurrency infoSupport for concurrent manipulation of datayesyes, 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
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyes
User concepts infoAccess controlnofine 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
BadgerH2LokiJSTerarkDB
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

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

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

Present your product here