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 > Cassandra vs. CockroachDB vs. Google Cloud Spanner vs. Lovefield vs. SQLite

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

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonCockroachDB  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 accessCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.A 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 storeRelational 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
Score6.15
Rank#55  Overall
#33  Relational 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.orgwww.cockroachlabs.comcloud.google.com/­spannergoogle.github.io/­lovefieldwww.sqlite.org
Technical documentationcassandra.apache.org/­doc/­latestwww.cockroachlabs.com/­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 FacebookCockroach LabsGoogleGoogleDwayne Richard Hipp
Initial release20082015201720142000
Current release4.1.3, July 202323.1.1, May 20232.1.12, February 20173.45.3  (15 April 2024), April 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0, commercial license availablecommercialOpen 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
macOS
Windows
hostedserver-less, requires a JavaScript environment (browser, Node.js) infotested with Chrome, Firefox, IE, Safariserver-less
Data schemeschema-freedynamic schemayesyesyes 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)yes, wire compatible with PostgreSQLyes 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
JDBCgRPC (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++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
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"horizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTShardingnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication using 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 integritynoyesyes 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.nononoyes infousing MemoryDByes
User concepts infoAccess controlAccess rights for users can be defined per objectRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)nono
More information provided by the system vendor
CassandraCockroachDBGoogle 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
CassandraCockroachDBGoogle 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

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

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

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

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

Limbo Is An SQLite-Compatible OLTP DBMS Leveraging IO_uring & Rust
9 May 2024, Phoronix

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

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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

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

Present your product here