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

DBMS > CockroachDB vs. etcd vs. Google Cloud Spanner vs. Riak TS

System Properties Comparison CockroachDB vs. etcd vs. Google Cloud Spanner vs. Riak TS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonetcd  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonRiak TS  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 distributed reliable key-value storeA 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.Riak TS is a distributed NoSQL database optimized for time series data and based on Riak KV
Primary database modelRelational DBMSKey-value storeRelational DBMSTime Series DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score7.05
Rank#53  Overall
#5  Key-value stores
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score0.17
Rank#318  Overall
#27  Time Series DBMS
Websitewww.cockroachlabs.cometcd.io
github.com/­etcd-io/­etcd
cloud.google.com/­spanner
Technical documentationwww.cockroachlabs.com/­docsetcd.io/­docs
github.com/­etcd-io/­etcd/­tree/­master/­Documentation
cloud.google.com/­spanner/­docswww.tiot.jp/­riak-docs/­riak/­ts/­latest
DeveloperCockroach LabsGoogleOpen Source, formerly Basho Technologies
Initial release201520172015
Current release24.1.0, May 20243.4, August 20193.0.0, September 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2.0commercialOpen Source
Cloud-based only infoOnly available as a cloud servicenonoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoGoErlang
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
Windows infoexperimental
hostedLinux
OS X
Data schemedynamic schemaschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesnoyesno
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 indexesyesnoyesrestricted
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infoQuery statements complying to ANSI 2011yes, limited
APIs and other access methodsJDBCgRPC
JSON over HTTP
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
HTTP API
Native Erlang Interface
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Perl
PHP
Python
R
Ruby
Rust
Scala
Tcl
Go
Java
JavaScript (Node.js)
Python
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Server-side scripts infoStored proceduresnononoErlang
Triggersnoyes, watching key changesnoyes infopre-commit hooks and post-commit hooks
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 RAFTShardingSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Multi-source replication with 3 replicas for regional instances.selectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infousing Google Cloud Dataflowyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesnoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno infolinks between datasets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACID infoStrict serializable isolationno
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 controlRole-based access controlnoAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)no

More information provided by the system vendor

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
CockroachDBetcdGoogle Cloud SpannerRiak TS
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

ETCD guidelines: RBI seeks to balance rupee stability, competitiveness | Policy Circle
8 April 2024, Policy Circle

Public preview: AKS cluster control plane metrics in managed Prometheus
12 February 2024, azure.microsoft.com

Is Your etcd an Open Door for Cyber Attacks? How to Secure Your Kubernetes Clusters & Nodes
8 November 2023, Information Security Newspaper

Monitor Amazon EKS Control Plane metrics using AWS Open Source monitoring services
12 October 2023, AWS Blog

6 Cool Kubernetes Operators and How to Use Them
22 January 2024, hackernoon.com

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

Is Riak A Good NoSQL Database Option For Enterprises?
1 July 2019, AIM

Best open source databases for IoT applications
26 May 2017, Open Source For You

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

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.

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.

Present your product here