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

DBMS > Cassandra vs. Dgraph vs. Google Cloud Spanner vs. IBM Db2 vs. Milvus

System Properties Comparison Cassandra vs. Dgraph vs. Google Cloud Spanner vs. IBM Db2 vs. Milvus

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonDgraph  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMilvus  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessDistributed and scalable native Graph DBMSA 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.Common in IBM host environments, 2 different versions for host and Windows/LinuxA DBMS designed for efficient storage of vector data and vector similarity searches
Primary database modelWide column storeGraph DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBVector DBMS
Secondary database modelsVector DBMS infostarting with release V5Document store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score1.45
Rank#156  Overall
#15  Graph DBMS
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score2.31
Rank#113  Overall
#3  Vector DBMS
Websitecassandra.apache.orgdgraph.iocloud.google.com/­spannerwww.ibm.com/­products/­db2milvus.io
Technical documentationcassandra.apache.org/­doc/­latestdgraph.io/­docscloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2milvus.io/­docs/­overview.md
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookDgraph Labs, Inc.GoogleIBM
Initial release2008201620171983 infohost version2019
Current release4.1.3, July 202312.1, October 20162.3.4, January 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0commercialcommercial infofree version is availableOpen Source infoApache Version 2.0
Cloud-based only infoOnly available as a cloud servicenonoyesnono
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.Zilliz Cloud – Cloud-native service for Milvus
Implementation languageJavaGoC and C++C++, Go
Server operating systemsBSD
Linux
OS X
Windows
Linux
OS X
Windows
hostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
macOS info10.14 or later
Windows infowith WSL 2 enabled
Data schemeschema-freeschema-freeyesyes
Typing infopredefined data types such as float or dateyesyesyesyesVector, Numeric and String
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.nononono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyesno
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)noyes infoQuery statements complying to ANSI 2011yesno
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
GraphQL query language
gRPC (using protocol buffers) API
HTTP API
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
RESTful HTTP API
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Go
Java
JavaScript (Node.js)
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C++
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnononoyesno
Triggersyesnonoyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"yesShardingSharding infoonly with Windows/Unix/Linux VersionSharding
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleSynchronous replication via RaftMulti-source replication with 3 replicas for regional instances.yes infowith separate tools (MQ, InfoSphere)
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnoyes infousing Google Cloud Dataflownono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyImmediate ConsistencyBounded Staleness
Eventual Consistency
Immediate Consistency
Session Consistency
Tunable Consistency
Foreign keys infoReferential integritynonoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACID infoStrict serializable isolationACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlAccess rights for users can be defined per objectno infoPlanned for future releasesAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)fine grained access rights according to SQL-standardRole based access control and fine grained access rights
More information provided by the system vendor
CassandraDgraphGoogle Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2Milvus
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
Milvus is an open-source and cloud-native vector database built for production-ready...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Highly available, versatile, and robust with millisecond latency. Supports batch...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
RAG: retrieval augmented generation Video media : video understanding, video deduplication....
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Milvus is trusted by thousands of enterprises, including PayPal, eBay, IKEA, LINE,...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
As of January 2024, 25k+ GitHub stars 10M+ downloads and installations​ ​ 3k+ enterprise...
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
Milvus was released under the open-source Apache License 2.0 in October 2019. Fully-managed...
» 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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Cassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

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

More resources
CassandraDgraphGoogle Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2Milvus
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

Vector databases
2 June 2023, Matthias Gelbmann

show all

Recent citations in the news

DataStax Hosts Cassandra Summit 2016 - World's Largest Gathering of Apache Cassandra Developers, Users ...
16 May 2024, Yahoo News UK

Why Apache Cassandra 5.0 Is a Game-Changer for Developers
10 May 2024, The New Stack

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

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

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

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

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

Dgraph GraphQL database users detail graph use cases
20 April 2021, TechTarget

provided by Google News

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

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

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

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

More AI Added to Google Cloud's Databases
28 February 2024, Datanami

provided by Google News

Data migration strategies to Amazon RDS for Db2 | Amazon Web Services
15 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

Modernizing PTDB Tables, Converting to UTS
17 October 2023, Broadcom Inc.

provided by Google News

How NVIDIA GPU Acceleration Supercharged Milvus Vector Database
26 March 2024, The New Stack

AI-Powered Search Engine With Milvus Vector Database on Vultr
31 January 2024, SitePoint

Milvus 2.4 Unveils Game-Changing Features for Enhanced Vector Search
20 March 2024, GlobeNewswire

Zilliz Unveils Game-Changing Features for Vector Search
22 March 2024, Datanami

IBM watsonx.data’s integrated vector database: unify, prepare, and deliver your data for AI
9 April 2024, ibm.com

provided by Google News



Share this page

Featured Products

RaimaDB logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

AllegroGraph logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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