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

DBMS > CockroachDB vs. Firebase Realtime Database vs. LokiJS vs. MarkLogic vs. searchxml

System Properties Comparison CockroachDB vs. Firebase Realtime Database vs. LokiJS vs. MarkLogic vs. searchxml

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonLokiJS  Xexclude from comparisonMarkLogic  Xexclude from comparisonsearchxml  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.Cloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.In-memory JavaScript DBMSOperational and transactional Enterprise NoSQL databaseDBMS for structured and unstructured content wrapped with an application server
Primary database modelRelational DBMSDocument storeDocument storeDocument store
Native XML DBMS
RDF store infoas of version 7
Search engine
Native XML DBMS
Search engine
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score14.29
Rank#39  Overall
#6  Document stores
Score0.43
Rank#264  Overall
#42  Document stores
Score5.92
Rank#58  Overall
#10  Document stores
#1  Native XML DBMS
#1  RDF stores
#6  Search engines
Score0.00
Rank#383  Overall
#7  Native XML DBMS
#25  Search engines
Websitewww.cockroachlabs.comfirebase.google.com/­products/­realtime-databasegithub.com/­techfort/­LokiJSwww.marklogic.comwww.searchxml.net/­category/­products
Technical documentationwww.cockroachlabs.com/­docsfirebase.google.com/­docs/­databasetechfort.github.io/­LokiJSdocs.marklogic.comwww.searchxml.net/­support/­handouts
DeveloperCockroach LabsGoogle infoacquired by Google 2014MarkLogic Corp.informationpartners gmbh
Initial release20152012201420012015
Current release23.1.1, May 202311.0, December 20221.0
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Sourcecommercial inforestricted free version is availablecommercial
Cloud-based only infoOnly available as a cloud servicenoyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJavaScriptC++C++
Server operating systemsLinux
macOS
Windows
hostedserver-less, requires a JavaScript environment (browser, Node.js)Linux
OS X
Windows
Windows
Data schemedynamic schemaschema-freeschema-freeschema-free infoSchema can be enforcedschema-free
Typing infopredefined data types such as float or dateyesyesnoyesyes
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.nononoyesyes
Secondary indexesyesyesyes infovia viewsyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoyes infoSQL92no
APIs and other access methodsJDBCAndroid
iOS
JavaScript API
RESTful HTTP API
JavaScript APIJava API
Node.js Client API
ODBC
proprietary Optic API infoProprietary Query API, introduced with version 9
RESTful HTTP API
SPARQL
WebDAV
XDBC
XQuery
XSLT
RESTful HTTP API
WebDAV
XQuery
XSLT
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Java
JavaScript
Objective-C
JavaScriptC
C#
C++
Java
JavaScript (Node.js)
Perl
PHP
Python
Ruby
C++ infomost other programming languages supported via APIs
Server-side scripts infoStored proceduresnolimited functionality with using 'rules'View functions in JavaScriptyes infovia XQuery or JavaScriptyes infoon the application server
TriggersnoCallbacks are triggered when data changesyesyesno
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 RAFTnoneShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneyesyes infosychronisation to multiple collections
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesyes infovia Hadoop Connector, HDFS Direct Access and in-database MapReduce jobsno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
noneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyesno infoatomic operations within a single collection possibleACID infocan act as a resource manager in an XA/JTA transactionmultiple readers, single writer
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes, with Range Indexesno
User concepts infoAccess controlRole-based access controlyes, based on authentication and database rulesnoRole-based access control at the document and subdocument levelsDomain, group and role-based access control at the document level and for application services

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
CockroachDBFirebase Realtime DatabaseLokiJSMarkLogicsearchxml
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, 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

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

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Hundreds of sites misconfigured Firebase security rules, exposing a total of 125 million pieces of sensitive information
4 May 2024, GIGAZINE(ギガジン)

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

MarkLogic “The NoSQL Database”. In the MarkLogic Query Console, you can… | by Abhay Srivastava | Apr, 2024
23 April 2024, Medium

ABN AMRO Moves Progress-Powered Credit Store App to Azure Cloud; Achieves 40% Faster Data Processing, Lower ...
12 March 2024, GlobeNewswire

Seven Quick Steps to Setting Up MarkLogic Server in Kubernetes
1 February 2024, biplatform.nl

Progress's $355m move for MarkLogic sets the tone for 2023
4 January 2023, The Stack

Progress to acquire PE-backed data platform MarkLogic for $355m
4 January 2023, PE Hub

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.

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

RaimaDB logo

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

Present your product here