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

DBMS > LokiJS vs. RocksDB vs. Spark SQL vs. TerarkDB

System Properties Comparison LokiJS vs. RocksDB vs. Spark SQL vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameLokiJS  Xexclude from comparisonRocksDB  Xexclude from comparisonSpark SQL  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionIn-memory JavaScript DBMSEmbeddable persistent key-value store optimized for fast storage (flash and RAM)Spark SQL is a component on top of 'Spark Core' for structured data processingA 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 modelDocument storeKey-value storeRelational DBMSKey-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.48
Rank#262  Overall
#42  Document stores
Score4.00
Rank#84  Overall
#11  Key-value stores
Score19.15
Rank#33  Overall
#20  Relational DBMS
Score0.04
Rank#377  Overall
#58  Key-value stores
Websitegithub.com/­techfort/­LokiJSrocksdb.orgspark.apache.org/­sqlgithub.com/­bytedance/­terarkdb
Technical documentationtechfort.github.io/­LokiJSgithub.com/­facebook/­rocksdb/­wikispark.apache.org/­docs/­latest/­sql-programming-guide.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperFacebook, Inc.Apache Software FoundationByteDance, originally Terark
Initial release2014201320142016
Current release8.11.4, April 20243.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen SourceOpen Source infoBSDOpen Source infoApache 2.0commercial 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 languageJavaScriptC++ScalaC++
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)LinuxLinux
OS X
Windows
Data schemeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or datenonoyesno
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 indexesyes infovia viewsnonono
SQL infoSupport of SQLnonoSQL-like DML and DDL statementsno
APIs and other access methodsJavaScript APIC++ API
Java API
JDBC
ODBC
C++ API
Java API
Supported programming languagesJavaScriptC
C++
Go
Java
Perl
Python
Ruby
Java
Python
R
Scala
C++
Java
Server-side scripts infoStored proceduresView functions in JavaScriptnonono
Triggersyesnono
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioningyes, utilizing Spark Corenone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneyesnonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemnone
Foreign keys infoReferential integritynononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoatomic operations within a single collection possibleyesnono
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesnoyes
User concepts infoAccess controlnononono

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
LokiJSRocksDBSpark SQLTerarkDB
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

Pliops Unveils Accelerated Key-Value Store That Boosts RocksDB Performance by 20x at OCP Global Summit
18 October 2022, GlobeNewswire

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

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

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

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Cloudera: Impala's it for interactive SQL on Hadoop; everything else will move to Spark
11 April 2024, Yahoo Movies Canada

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

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

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

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.

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

AllegroGraph logo

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

Present your product here