DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. Google Cloud Spanner vs. Riak KV vs. STSdb

System Properties Comparison CockroachDB vs. Google Cloud Spanner vs. Riak KV vs. STSdb

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonRiak KV  Xexclude from comparisonSTSdb  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.Distributed, fault tolerant key-value storeKey-Value Store with special method for indexing infooptimized for high performance using a special indexing method
Primary database modelRelational DBMSRelational DBMSKey-value store infowith links between data sets and object tags for the creation of secondary indexesKey-value store
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
Score3.84
Rank#76  Overall
#9  Key-value stores
Score0.03
Rank#365  Overall
#54  Key-value stores
Websitewww.cockroachlabs.comcloud.google.com/­spannergithub.com/­STSSoft/­STSdb4
Technical documentationwww.cockroachlabs.com/­docscloud.google.com/­spanner/­docswww.tiot.jp/­riak-docs/­riak/­kv/­latest
DeveloperCockroach LabsGoogleOpenSource, formerly Basho TechnologiesSTS Soft SC
Initial release2015201720092011
Current release24.1.0, May 20243.2.0, December 20224.0.8, September 2015
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infoApache version 2, commercial enterprise editionOpen Source infoGPLv2, commercial license available
Cloud-based only infoOnly available as a cloud servicenoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoErlangC#
Server operating systemsLinux
macOS
Windows
hostedLinux
OS X
Windows
Data schemedynamic schemayesschema-freeyes
Typing infopredefined data types such as float or dateyesyesnoyes infoprimitive types and user defined types (classes)
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.nonono
Secondary indexesyesyesrestrictedno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infoQuery statements complying to ANSI 2011nono
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 API
Native Erlang Interface
.NET Client API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
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
C#
Java
Server-side scripts infoStored proceduresnonoErlangno
Triggersnonoyes infopre-commit hooks and post-commit hooksno
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 infono "single point of failure"none
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication with 3 replicas for regional instances.selectable replication factornone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflowyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno infolinks between data sets can be storedno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infoStrict serializable isolationnono
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.nono
User concepts infoAccess controlRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)yes, using Riak Securityno

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
CockroachDBGoogle Cloud SpannerRiak KVSTSdb
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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.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

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Top 8 Best NoSQL Databases in 2024
9 September 2024, AIM

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

Basho aims for enterprise operational simplicity with new Data Platform
26 May 2015, diginomica

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

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.

SingleStore logo

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

Present your product here