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

DBMS > Google Cloud Spanner vs. LokiJS vs. MarkLogic vs. Microsoft Azure Cosmos DB

System Properties Comparison Google Cloud Spanner vs. LokiJS vs. MarkLogic vs. Microsoft Azure Cosmos DB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonLokiJS  Xexclude from comparisonMarkLogic  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparison
DescriptionA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.In-memory JavaScript DBMSOperational and transactional Enterprise NoSQL databaseGlobally distributed, horizontally scalable, multi-model database service
Primary database modelRelational DBMSDocument storeDocument store
Native XML DBMS
RDF store infoas of version 7
Search engine
Document store
Graph DBMS
Key-value store
Wide column store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.84
Rank#100  Overall
#51  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Score5.18
Rank#63  Overall
#11  Document stores
#1  Native XML DBMS
#1  RDF stores
#7  Search engines
Score27.71
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Websitecloud.google.com/­spannergithub.com/­techfort/­LokiJSwww.progress.com/­marklogicazure.microsoft.com/­services/­cosmos-db
Technical documentationcloud.google.com/­spanner/­docstechfort.github.io/­LokiJSwww.progress.com/­marklogic/­documentationlearn.microsoft.com/­azure/­cosmos-db
DeveloperGoogleMarkLogic Corp.Microsoft
Initial release2017201420012014
Current release11.0, December 2022
License infoCommercial or Open SourcecommercialOpen Sourcecommercial inforestricted free version is availablecommercial
Cloud-based only infoOnly available as a cloud serviceyesnonoyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaScriptC++
Server operating systemshostedserver-less, requires a JavaScript environment (browser, Node.js)Linux
OS X
Windows
hosted
Data schemeyesschema-freeschema-free infoSchema can be enforcedschema-free
Typing infopredefined data types such as float or dateyesnoyesyes infoJSON types
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.nonoyes
Secondary indexesyesyes infovia viewsyesyes infoAll properties auto-indexed by default
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011noyes infoSQL92SQL-like query language
APIs and other access methodsgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
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
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
JavaScriptC
C#
C++
Java
JavaScript (Node.js)
Perl
PHP
Python
Ruby
.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
Server-side scripts infoStored proceduresnoView functions in JavaScriptyes infovia XQuery or JavaScriptJavaScript
TriggersnoyesyesJavaScript
Partitioning methods infoMethods for storing different data on different nodesShardingnoneShardingSharding infoImplicit feature of the cloud service
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.noneyesyes infoImplicit feature of the cloud service
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowyesyes infovia Hadoop Connector, HDFS Direct Access and in-database MapReduce jobswith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate ConsistencyBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationno infoatomic operations within a single collection possibleACID infocan act as a resource manager in an XA/JTA transactionMulti-item ACID transactions with snapshot isolation within a partition
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes 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 Indexes
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)noRole-based access control at the document and subdocument levelsAccess rights can be defined down to the item level

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
3rd partiesCData: 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
Google Cloud SpannerLokiJSMarkLogicMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB
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

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Cloud just fired a major volley at AWS as the cloud wars heat up
12 October 2023, TechRadar

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

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
22 April 2024, Medium

Database Platform to Simplify Complex Data | Progress Marklogic
7 February 2023, Progress Software

AI can make logistics data as valuable as intelligence or operational data for mission success
17 April 2024, Breaking Defense

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

Intelligence for multi-domain warfighters can now be sourced from logistics operations
13 May 2024, Breaking Defense

provided by Google News

Start your AI journey with Microsoft Azure Cosmos DB—compete for $10K
9 May 2024, azure.microsoft.com

Public Preview: DiskANN vector indexing and search in Azure Cosmos DB NoSQL | Azure updates
21 May 2024, azure.microsoft.com

Public preview: Change partition key of a container in Azure Cosmos DB (NoSQL API) | Azure updates
27 March 2024, azure.microsoft.com

Building Planet-Scale .NET Apps with Azure Cosmos DB
4 June 2024, Visual Studio Magazine

Public preview: Filtered vector search in vCore-based Azure Cosmos DB for MongoDB | Azure updates
24 April 2024, azure.microsoft.com

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

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