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 > Apache Druid vs. BaseX vs. Cassandra vs. Google Cloud Spanner

System Properties Comparison Apache Druid vs. BaseX vs. Cassandra vs. Google Cloud Spanner

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonBaseX  Xexclude from comparisonCassandra  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataLight-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.
Primary database modelRelational DBMS
Time Series DBMS
Native XML DBMSWide column storeRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.34
Rank#88  Overall
#48  Relational DBMS
#7  Time Series DBMS
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
Websitedruid.apache.orgbasex.orgcassandra.apache.orgcloud.google.com/­spanner
Technical documentationdruid.apache.org/­docs/­latest/­designdocs.basex.orgcassandra.apache.org/­doc/­latestcloud.google.com/­spanner/­docs
DeveloperApache Software Foundation and contributorsBaseX GmbHApache Software Foundation infoApache top level project, originally developped by FacebookGoogle
Initial release2012200720082017
Current release29.0.1, April 202410.7, August 20234.1.3, July 2023
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoBSD licenseOpen Source infoApache version 2commercial
Cloud-based only infoOnly available as a cloud servicenononoyes
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 languageJavaJavaJava
Server operating systemsLinux
OS X
Unix
Linux
OS X
Windows
BSD
Linux
OS X
Windows
hosted
Data schemeyes infoschema-less columns are supportedschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesno infoXQuery supports typesyesyes
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 indexesyesyesrestricted infoonly equality queries, not always the best performing solutionyes
SQL infoSupport of SQLSQL for queryingnoSQL-like SELECT, DML and DDL statements (CQL)yes infoQuery statements complying to ANSI 2011
APIs and other access methodsJDBC
RESTful HTTP/JSON API
Java 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
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
Actionscript
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
Server-side scripts infoStored proceduresnoyesnono
Triggersnoyes infovia eventsyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basednoneSharding infono "single point of failure"Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesnoneselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication with 3 replicas for regional instances.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesyes infousing Google Cloud Dataflow
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integritynononoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrity
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanomultiple readers, single writerno infoAtomicity and isolation are supported for single operationsACID infoStrict serializable isolation
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.nonono
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemUsers 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)
More information provided by the system vendor
Apache DruidBaseXCassandraGoogle Cloud Spanner
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

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
Apache DruidBaseXCassandraGoogle Cloud Spanner
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

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading

Apache Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers' Choice Awards
26 January 2024, Datanami

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Imply Data gives Apache Druid schema auto-discover capability
6 June 2023, SiliconANGLE News

Imply Announces Automatic Schema Discovery for Apache Druid, Reinforcing Druid's Leadership for Real-Time ...
6 June 2023, businesswire.com

provided by Google 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



Share this page

Featured Products

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.

RaimaDB logo

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

Present your product here