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. Lovefield vs. SQLite

System Properties Comparison Cassandra vs. Dgraph vs. Google Cloud Spanner vs. Lovefield vs. SQLite

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonDgraph  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonLovefield  Xexclude from comparisonSQLite  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.Embeddable relational database for web apps written in pure JavaScriptWidely used embeddable, in-process RDBMS
Primary database modelWide column storeGraph DBMSRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5
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
Score0.29
Rank#293  Overall
#133  Relational DBMS
Score114.32
Rank#10  Overall
#7  Relational DBMS
Websitecassandra.apache.orgdgraph.iocloud.google.com/­spannergoogle.github.io/­lovefieldwww.sqlite.org
Technical documentationcassandra.apache.org/­doc/­latestdgraph.io/­docscloud.google.com/­spanner/­docsgithub.com/­google/­lovefield/­blob/­master/­docs/­spec_index.mdwww.sqlite.org/­docs.html
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookDgraph Labs, Inc.GoogleGoogleDwayne Richard Hipp
Initial release20082016201720142000
Current release4.1.3, July 20232.1.12, February 20173.45.3  (15 April 2024), April 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0commercialOpen Source infoApache 2.0Open Source infoPublic Domain
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.
Implementation languageJavaGoJavaScriptC
Server operating systemsBSD
Linux
OS X
Windows
Linux
OS X
Windows
hostedserver-less, requires a JavaScript environment (browser, Node.js) infotested with Chrome, Firefox, IE, Safariserver-less
Data schemeschema-freeschema-freeyesyesyes infodynamic column types
Typing infopredefined data types such as float or dateyesyesyesyesyes infonot rigid because of 'dynamic typing' concept.
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.nonononono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)noyes infoQuery statements complying to ANSI 2011SQL-like query language infovia JavaScript builder patternyes infoSQL-92 is not fully supported
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 infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
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
JavaScriptActionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
Server-side scripts infoStored proceduresnonononono
TriggersyesnonoUsing read-only observersyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"yesShardingnonenone
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.nonenone
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 Consistency
Foreign keys infoReferential integritynonoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACID infoStrict serializable isolationACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes infovia file-system locks
Durability infoSupport for making data persistentyesyesyesyes, by using IndexedDB or the cloud service Firebase Realtime Databaseyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes infousing MemoryDByes
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)nono
More information provided by the system vendor
CassandraDgraphGoogle Cloud SpannerLovefieldSQLite
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
News

How Concide Built its Chat Platform with Enhanced Document Management for Legal Tech Professionals
23 May 2024

Astra Vectorize: Generate Vector Embeddings with 1 Line of Code
22 May 2024

GitHub Copilot + DataStax Astra DB: Build GenAI Apps 100x Faster
21 May 2024

Empowering On-Premises Deployments with Generative AI: Introducing Vector Search for a Self-Managed Modern Architecture
15 May 2024

Tips and Tricks for the DataStax Astra CLI
7 May 2024

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
Navicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
CassandraDgraphGoogle Cloud SpannerLovefieldSQLite
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

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Recent citations in the news

Microsoft Build 2024: Cosmos DB for NoSQL gets vector search
21 May 2024, InfoWorld

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

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

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

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

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

The 12 Best Graph Databases to Consider for 2024
22 October 2023, Solutions Review

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

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

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 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

A Guide to Working with SQLite Databases in Python
21 May 2024, KDnuggets

How to work with Dapper and SQLite in ASP.NET Core
10 May 2024, InfoWorld

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

SQLite's new support for binary JSON is similar but different from a PostgreSQL feature • DEVCLASS
16 January 2024, DevClass

Universal API Access from Postgres and SQLite
27 February 2024, oreilly.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

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

RaimaDB logo

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

SingleStore logo

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

Neo4j logo

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

Present your product here