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 > H2 vs. LokiJS vs. RocksDB vs. SwayDB

System Properties Comparison H2 vs. LokiJS vs. RocksDB vs. SwayDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonLokiJS  Xexclude from comparisonRocksDB  Xexclude from comparisonSwayDB  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSEmbeddable persistent key-value store optimized for fast storage (flash and RAM)An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelRelational DBMSDocument storeKey-value storeKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Score3.65
Rank#85  Overall
#11  Key-value stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Websitewww.h2database.comgithub.com/­techfort/­LokiJSrocksdb.orgswaydb.simer.au
Technical documentationwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSgithub.com/­facebook/­rocksdb/­wiki
DeveloperThomas MuellerFacebook, Inc.Simer Plaha
Initial release2005201420132018
Current release2.2.220, July 20238.11.4, April 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoBSDOpen Source infoGNU Affero GPL V3.0
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 languageJavaJavaScriptC++Scala
Server operating systemsAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)Linux
Data schemeyesschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesnonono
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 indexesyesyes infovia viewsnono
SQL infoSupport of SQLyesnonono
APIs and other access methodsJDBC
ODBC
JavaScript APIC++ API
Java API
Supported programming languagesJavaJavaScriptC
C++
Go
Java
Perl
Python
Ruby
Java
Kotlin
Scala
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptnono
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonehorizontal partitioningnone
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneyesnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infoatomic operations within a single collection possibleyesAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesyes
User concepts infoAccess controlfine 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
3rd partiesSpeedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
H2LokiJSRocksDBSwayDB
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

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Power your Kafka Streams application with Amazon MSK and AWS Fargate | Amazon Web Services
10 August 2021, AWS Blog

Intel Linux Optimizations Help AMD EPYC "Genoa" Improve Scaling To 384 Threads
6 April 2023, Phoronix

provided by Google News



Share this page

Featured Products

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

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