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 > BaseX vs. Cassandra vs. Dgraph vs. LokiJS

System Properties Comparison BaseX vs. Cassandra vs. Dgraph vs. LokiJS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonCassandra  Xexclude from comparisonDgraph  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.Wide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessDistributed and scalable native Graph DBMSIn-memory JavaScript DBMS
Primary database modelNative XML DBMSWide column storeGraph DBMSDocument store
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.84
Rank#135  Overall
#4  Native XML DBMS
Score98.83
Rank#12  Overall
#1  Wide column stores
Score1.53
Rank#152  Overall
#15  Graph DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Websitebasex.orgcassandra.apache.orgdgraph.iogithub.com/­techfort/­LokiJS
Technical documentationdocs.basex.orgcassandra.apache.org/­doc/­latestdgraph.io/­docstechfort.github.io/­LokiJS
DeveloperBaseX GmbHApache Software Foundation infoApache top level project, originally developped by FacebookDgraph Labs, Inc.
Initial release2007200820162014
Current release10.7, August 20234.1.3, July 2023
License infoCommercial or Open SourceOpen Source infoBSD licenseOpen Source infoApache version 2Open Source infoApache 2.0Open 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 languageJavaJavaGoJavaScript
Server operating systemsLinux
OS X
Windows
BSD
Linux
OS X
Windows
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateno infoXQuery supports typesyesyesno
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 indexesyesrestricted infoonly equality queries, not always the best performing solutionyesyes infovia views
SQL infoSupport of SQLnoSQL-like SELECT, DML and DDL statements (CQL)nono
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
Proprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
GraphQL query language
gRPC (using protocol buffers) API
HTTP API
JavaScript API
Supported programming languagesActionscript
C
C#
Haskell
Java
JavaScript infoNode.js
Lisp
Perl
PHP
Python
Qt
Rebol
Ruby
Scala
Visual Basic
C#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
JavaScript
Server-side scripts infoStored proceduresyesnonoView functions in JavaScript
Triggersyes infovia eventsyesnoyes
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infono "single point of failure"yesnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneselectable replication factor infoRepresentation of geographical distribution of servers is possibleSynchronous replication via Raftnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnoyes
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 integritynononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writerno infoAtomicity and isolation are supported for single operationsACIDno 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 controlUsers with fine-grained authorization concept on 4 levelsAccess rights for users can be defined per objectno infoPlanned for future releasesno
More information provided by the system vendor
BaseXCassandraDgraphLokiJS
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 metricsCassandra 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

An Introduction to Phil Nash, Developer Relations
3 June 2024

Focus on Creativity, Not Clusters: DataStax Mission Control in Action!
30 May 2024

How Concide Built its Chat Platform with Enhanced Document Management for Legal Tech Professionals
23 May 2024

Astra Vectorize: Generate Vector Embeddings with 1 Line of Code
22 May 2024

GitHub Copilot + DataStax Astra DB: Build GenAI Apps 100x Faster
21 May 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
BaseXCassandraDgraphLokiJS
DB-Engines blog posts

Cassandra keeps climbing the ranks of the DB-Engines Ranking
3 May 2016, Matthias Gelbmann

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

show all

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Recent citations in the news

XML Injection Attacks: What to Know About XPath, XQuery, XXE & More
18 May 2022, Hashed Out by The SSL Store™

provided by Google News

Here's What to Know About Apache Cassandra 5.0
15 April 2024, hackernoon.com

Cassandra is the “best f*cking database for gen AI,” says DataStax CEO
13 December 2023, VentureBeat

Why Apache Cassandra 5.0 Is a Game-Changer for Developers
10 May 2024, The New Stack

How Uber Optimized Cassandra Operations At Scale
20 July 2023, Uber

Microsoft Build 2024: Cosmos DB for NoSQL gets vector search
21 May 2024, InfoWorld

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 Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, businesswire.com

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

Dgraph Raises $6M in Seed Funding
20 July 2022, FinSMEs

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Neo4j logo

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

Present your product here