DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Cassandra vs. Dgraph vs. IBM Db2 vs. LokiJS

System Properties Comparison Apache Cassandra vs. Dgraph vs. IBM Db2 vs. LokiJS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Cassandra  Xexclude from comparisonDgraph  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessDistributed and scalable native Graph DBMSCommon in IBM host environments, 2 different versions for host and Windows/LinuxIn-memory JavaScript DBMS
Primary database modelWide column storeGraph DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Secondary database modelsVector DBMS infostarting with release V5Document store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score98.94
Rank#11  Overall
#1  Wide column stores
Score1.39
Rank#155  Overall
#15  Graph DBMS
Score123.05
Rank#9  Overall
#6  Relational DBMS
Score0.44
Rank#256  Overall
#40  Document stores
Websitecassandra.apache.orgdgraph.iowww.ibm.com/­products/­db2github.com/­techfort/­LokiJS
Technical documentationcassandra.apache.org/­doc/­latestdgraph.io/­docswww.ibm.com/­docs/­en/­db2techfort.github.io/­LokiJS
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookDgraph Labs, Inc.IBM
Initial release200820161983 infohost version2014
Current release5.0-rc1, July 202412.1, October 2016
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0commercial infofree version is availableOpen Source
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.
Astra DB: Multi-cloud DBaaS built on Apache Cassandra.
Implementation languageJavaGoC and C++JavaScript
Server operating systemsBSD
Linux
OS X
Windows
Linux
OS X
Windows
AIX
HP-UX
Linux
Solaris
Windows
z/OS
server-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesyesno
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.nonono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyes infovia views
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)noyesno
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
GraphQL query language
gRPC (using protocol buffers) API
HTTP API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
JavaScript API
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
JavaScript
Server-side scripts infoStored proceduresnonoyesView functions in JavaScript
Triggersyesnoyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"yesSharding infoonly with Windows/Unix/Linux Versionnone
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleSynchronous replication via Raftyes infowith separate tools (MQ, InfoSphere)none
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistencynone
Foreign keys infoReferential integritynonoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
User concepts infoAccess controlAccess rights for users can be defined per objectno infoPlanned for future releasesfine grained access rights according to SQL-standardno
More information provided by the system vendor
Apache CassandraDgraphIBM Db2 infoformerly named DB2 or IBM Database 2LokiJS
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Market metricsApache Cassandra is used by 40% of the Fortune 100.
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
News

How to Create Vector Embeddings in Node.js
25 September 2024

Glean and DataStax Partner to Help Developers Harness Powerful Enterprise Search
23 September 2024

DataStax Named a Leader in The Forrester Wave™: Vector Databases, Q3 2024
23 September 2024

How to Build a Notion Clone with Astra DB and Mongoose
20 September 2024

How to Monitor DataStax-Powered RAG Applications with Fiddler
19 September 2024

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 partiesCassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
Apache CassandraDgraphIBM Db2 infoformerly named DB2 or IBM Database 2LokiJS
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

New Apache Cassandra 5.0 gives open source NoSQL database a scalability and performance boost
6 September 2024, VentureBeat

Apache Cassandra introduces version 5.0 of open-source NoSQL database
9 September 2024, Techzine Europe

Migrate Cassandra workloads to Amazon Keyspaces using CQLReplicator
4 September 2024, AWS Blog

Cassandra redesigns indexing, storage management for 5.0 release
10 September 2024, The Register

How Uber ensures Apache Cassandra®’s tolerance for single-zone failure
20 June 2024, Uber

provided by Google News

Top Open Source Graph Databases
3 June 2024, MarkTechPost

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

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

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

Graph Database Market size to grow by USD 7.40 billion between 2022 - 2027 | Growth Driven by Lack of standardization and programming flexibility - Technavio
13 December 2023, Yahoo Finance

provided by Google News

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

Data migration strategies to Amazon RDS for Db2
15 May 2024, AWS Blog

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, IBM

Using Oracle Cloud Infrastructure (OCI) GoldenGate with Db2 for z Database
31 May 2024, blogs.oracle.com

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

provided by Google 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

RaimaDB logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

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

Present your product here