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

DBMS > CockroachDB vs. Dgraph vs. EJDB vs. Immudb vs. LokiJS

System Properties Comparison CockroachDB vs. Dgraph vs. EJDB vs. Immudb vs. LokiJS

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDgraph  Xexclude from comparisonEJDB  Xexclude from comparisonImmudb  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Distributed and scalable native Graph DBMSEmbeddable document-store database library with JSON representation of queries (in MongoDB style)An open source immutable (append-only) database with cryptographic verification which makes it tamper-resistant and fully auditable.In-memory JavaScript DBMS
Primary database modelRelational DBMSGraph DBMSDocument storeKey-value storeDocument store
Secondary database modelsRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score1.45
Rank#156  Overall
#15  Graph DBMS
Score0.27
Rank#297  Overall
#44  Document stores
Score0.24
Rank#305  Overall
#43  Key-value stores
Score0.43
Rank#264  Overall
#42  Document stores
Websitewww.cockroachlabs.comdgraph.iogithub.com/­Softmotions/­ejdbgithub.com/­codenotary/­immudb
immudb.io
github.com/­techfort/­LokiJS
Technical documentationwww.cockroachlabs.com/­docsdgraph.io/­docsgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mddocs.immudb.iotechfort.github.io/­LokiJS
DeveloperCockroach LabsDgraph Labs, Inc.SoftmotionsCodenotary
Initial release20152016201220202014
Current release23.1.1, May 20231.2.3, April 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infoGPLv2Open Source infoApache Version 2.0Open 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 languageGoGoCGoJavaScript
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
server-lessBSD
Linux
macOS
Solaris
Windows
z/OS
server-less, requires a JavaScript environment (browser, Node.js)
Data schemedynamic schemaschema-freeschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyes 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.nononono
Secondary indexesyesyesnoyesyes infovia views
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoSQL-like syntaxno
APIs and other access methodsJDBCGraphQL query language
gRPC (using protocol buffers) API
HTTP API
in-process shared librarygRPC protocol
PostgreSQL wire protocol
JavaScript API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Actionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
.Net
Go
Java
JavaScript (Node.js)
Python
JavaScript
Server-side scripts infoStored proceduresnonononoView functions in JavaScript
Triggersnonononoyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTyesnoneShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSynchronous replication via Raftnonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integrityyesnono infotypically not needed, however similar functionality with collection joins possiblenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoRead/Write Lockingyes
Durability infoSupport for making data persistentyesyesyesyesyes 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.nonoyes
User concepts infoAccess controlRole-based access controlno infoPlanned for future releasesnono

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

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

provided by Google News

Dgraph on AWS: Setting up a horizontally scalable graph database | Amazon Web Services
1 September 2020, AWS Blog

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
10 September 2020, TechCrunch

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, Business Wire

Dgraph GraphQL database users detail graph use cases
20 April 2021, TechTarget

provided by Google News

Codenotary Releases immudb v1.9DOM
19 October 2023, Business Wire

Codenotary brings its immutable database to the cloud
21 June 2023, TechCrunch

Codenotary launches cloud version of tamper-proof database
27 June 2023, SC Media

A Step by Step Guide to immudb — the open source immutable database
18 May 2020, hackernoon.com

Immudb: Open-source database, built on a zero trust model
17 December 2021, Help Net Security

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

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.

AllegroGraph logo

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

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here