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. Google Cloud Spanner vs. Microsoft Azure Cosmos DB

System Properties Comparison BaseX vs. Cassandra vs. Google Cloud Spanner vs. Microsoft Azure Cosmos DB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBaseX  Xexclude from comparisonCassandra  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  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 accessA 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.Globally distributed, horizontally scalable, multi-model database service
Primary database modelNative XML DBMSWide column storeRelational DBMSDocument store
Graph DBMS
Key-value store
Wide column store
Secondary database modelsVector DBMS infostarting with release V5Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.73
Rank#142  Overall
#4  Native XML DBMS
Score101.89
Rank#12  Overall
#1  Wide column stores
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score29.04
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Websitebasex.orgcassandra.apache.orgcloud.google.com/­spannerazure.microsoft.com/­services/­cosmos-db
Technical documentationdocs.basex.orgcassandra.apache.org/­doc/­latestcloud.google.com/­spanner/­docslearn.microsoft.com/­azure/­cosmos-db
DeveloperBaseX GmbHApache Software Foundation infoApache top level project, originally developped by FacebookGoogleMicrosoft
Initial release2007200820172014
Current release10.7, August 20234.1.3, July 2023
License infoCommercial or Open SourceOpen Source infoBSD licenseOpen Source infoApache version 2commercialcommercial
Cloud-based only infoOnly available as a cloud servicenonoyesyes
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 languageJavaJava
Server operating systemsLinux
OS X
Windows
BSD
Linux
OS X
Windows
hostedhosted
Data schemeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or dateno infoXQuery supports typesyesyesyes 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.nono
Secondary indexesyesrestricted infoonly equality queries, not always the best performing solutionyesyes infoAll properties auto-indexed by default
SQL infoSupport of SQLnoSQL-like SELECT, DML and DDL statements (CQL)yes infoQuery statements complying to ANSI 2011SQL-like query language
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
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table 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
Go
Java
JavaScript (Node.js)
Python
.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
Server-side scripts infoStored proceduresyesnonoJavaScript
Triggersyes infovia eventsyesnoJavaScript
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infono "single point of failure"ShardingSharding infoImplicit feature of the cloud service
Replication methods infoMethods for redundantly storing data on multiple nodesnoneselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication with 3 replicas for regional instances.yes infoImplicit feature of the cloud service
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesyes infousing Google Cloud Dataflowwith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Foreign keys infoReferential integritynonoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datamultiple readers, single writerno infoAtomicity and isolation are supported for single operationsACID infoStrict serializable isolationMulti-item ACID transactions with snapshot isolation within a partition
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nono
User concepts infoAccess controlUsers with fine-grained authorization concept on 4 levelsAccess rights for users can be defined per objectAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights can be defined down to the item level
More information provided by the system vendor
BaseXCassandraGoogle Cloud SpannerMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB
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

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
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
BaseXCassandraGoogle Cloud SpannerMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB
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

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

What Is Cassandra? Working, Features, and Uses - Spiceworks Inc
17 August 2023, Spiceworks News and Insights

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

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

Microsoft extends life support for aging Apache Cassandra 3.11 database
10 October 2023, The Register

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

provided by Google 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 Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

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

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, Microsoft

Azure Synapse Link for Cosmos DB: New Analytics Capabilities
10 November 2023, InfoQ.com

How to Migrate Azure Cosmos DB Databases | by Arwin Lashawn
25 August 2023, DataDrivenInvestor

Azure Cosmos DB joins the AI toolchain
23 May 2023, InfoWorld

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

RaimaDB logo

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

Present your product here