DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. Google Cloud Spanner vs. QuestDB vs. RethinkDB vs. SwayDB

System Properties Comparison CockroachDB vs. Google Cloud Spanner vs. QuestDB vs. RethinkDB vs. SwayDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonQuestDB  Xexclude from comparisonRethinkDB  Xexclude from comparisonSwayDB  Xexclude from comparison
DescriptionCockroachDB 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.A high performance open source SQL database for time series dataDBMS for the Web with a mechanism to push updated query results to applications in realtime.An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelRelational DBMSRelational DBMSTime Series DBMSDocument storeKey-value store
Secondary database modelsRelational DBMSSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score2.81
Rank#98  Overall
#7  Time Series DBMS
Score2.58
Rank#105  Overall
#20  Document stores
Score0.00
Rank#384  Overall
#60  Key-value stores
Websitewww.cockroachlabs.comcloud.google.com/­spannerquestdb.iorethinkdb.comswaydb.simer.au
Technical documentationwww.cockroachlabs.com/­docscloud.google.com/­spanner/­docsquestdb.io/­docsrethinkdb.com/­docs
DeveloperCockroach LabsGoogleQuestDB Technology IncThe Linux Foundation infosince July 2017Simer Plaha
Initial release20152017201420092018
Current release24.1.0, May 20242.4.1, August 2020
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infoApache 2.0Open Source infoApache Version 2Open Source infoGNU Affero GPL V3.0
Cloud-based only infoOnly available as a cloud servicenoyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJava (Zero-GC), C++, RustC++Scala
Server operating systemsLinux
macOS
Windows
hostedLinux
macOS
Windows
Linux
OS X
Windows
Data schemedynamic schemayesyes infoschema-free via InfluxDB Line Protocolschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyesyes infostring, binary, float, bool, date, geometryno
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 indexesyesyesnoyesno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infoQuery statements complying to ANSI 2011SQL with time-series extensionsnono
APIs and other access methodsJDBCgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
HTTP REST
InfluxDB Line Protocol (TCP/UDP)
JDBC
PostgreSQL wire protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Go
Java
JavaScript (Node.js)
Python
C infoPostgreSQL driver
C++
Go
Java
JavaScript (Node.js)
Python
Rust infoover HTTP
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
Java
Kotlin
Scala
Server-side scripts infoStored proceduresnononono
TriggersnononoClient-side triggers through changefeedsno
Partitioning methods infoMethods for storing different data on different nodeshorizontal 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 RAFTShardinghorizontal partitioning (by timestamps)Sharding inforange basednone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication with 3 replicas for regional instances.Source-replica replication with eventual consistencySource-replica replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflownoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infoStrict serializable isolationACID for single-table writesAtomic single-document operationsAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes infoMVCC basedyes
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 infothrough memory mapped filesnoyes
User concepts infoAccess controlRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)yes infousers and table-level permissionsno
More information provided by the system vendor
CockroachDBGoogle Cloud SpannerQuestDBRethinkDBSwayDB
News

Combine Java and Rust Code Coverage in a Polyglot Project
10 September 2024

Weather data visualization and forecasting with QuestDB, Kafka and Grafana
4 September 2024

Building a new vector based storage model
22 August 2024

Calibrating VWAP executions with QuestDB and Grafana
16 August 2024

Write Time: a call for community writers
13 August 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

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

More resources
CockroachDBGoogle Cloud SpannerQuestDBRethinkDBSwayDB
DB-Engines blog posts

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

show all

Recent citations in the news

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

provided by Google News

Google Cloud Spanner gets dual-region configuration option
23 July 2024, InfoWorld

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, Techzine Europe

Google Cloud Enhances Spanner with Dual-Region Configuration
1 August 2024, InfoQ.com

New features make Google's Spanner a database for AI
1 August 2024, TechTarget

Google Cloud expands its database portfolio with new AI capabilities
1 August 2024, TechCrunch

provided by Google News

SQL Extensions for Time-Series Data in QuestDB
11 January 2021, Towards Data Science

QuestDB snares $12M Series A with hosted version coming soon
3 November 2021, TechCrunch

Comparing Different Time-Series Databases
10 February 2022, hackernoon.com

Q&A: Nicolas Hourcard, QuestDB: The advantages of a time-series database
3 December 2020, Developer News

Aquis Exchange Goes Live With QuestDB For Real Time Monitoring
2 November 2022, FinanceFeeds

provided by Google News

An introduction to building realtime apps with RethinkDB
9 July 2022, devm.io

Stripe acquires team behind NoSQL database startup RethinkDB
5 October 2016, VentureBeat

How to Use RethinkDB with Node.js Applications
16 December 2015, SitePoint

How to deploy RethinkDB using Docker
14 February 2018, Packt Hub

MongoDB: The Popular Database for the Internet of Things
15 August 2023, Open Source For You

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.

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.

Milvus logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here