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

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonCockroachDB  Xexclude from comparisonDgraph  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionLight-weight Native XML DBMS with support for XQuery 3.0 and interactive GUI.CockroachDB 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 DBMSIn-memory JavaScript DBMS
Primary database modelNative XML DBMSRelational DBMSGraph DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.73
Rank#142  Overall
#4  Native XML DBMS
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score1.45
Rank#156  Overall
#15  Graph DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Websitebasex.orgwww.cockroachlabs.comdgraph.iogithub.com/­techfort/­LokiJS
Technical documentationdocs.basex.orgwww.cockroachlabs.com/­docsdgraph.io/­docstechfort.github.io/­LokiJS
DeveloperBaseX GmbHCockroach LabsDgraph Labs, Inc.
Initial release2007201520162014
Current release10.7, August 202324.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoBSD licenseOpen Source infoApache 2.0, commercial license availableOpen 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.
Implementation languageJavaGoGoJavaScript
Server operating systemsLinux
OS X
Windows
Linux
macOS
Windows
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freedynamic schemaschema-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 indexesyesyesyesyes infovia views
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQLnono
APIs and other access methodsJava API
RESTful HTTP API
RESTXQ
WebDAV
XML:DB
XQJ
JDBCGraphQL 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
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
JavaScript
Server-side scripts infoStored proceduresyesnonoView functions in JavaScript
Triggersyes infovia eventsnonoyes
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal 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 RAFTyesnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTSynchronous replication via Raftnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integritynoyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writerACIDACIDno 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 levelsRole-based access controlno infoPlanned for future releasesno

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

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

9 Skills You Need to Become a Data Engineer
2 November 2022, KDnuggets

provided by Google News

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

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

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

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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

provided by Google News

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 | Amazon Web Services
1 September 2020, AWS Blog

The 12 Best Graph Databases to Consider for 2024
22 October 2023, Solutions Review

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

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

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

LokiJS Reaches 1.4
8 July 2016, 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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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