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

DBMS > CockroachDB vs. CrateDB vs. etcd vs. Google Cloud Spanner

System Properties Comparison CockroachDB vs. CrateDB vs. etcd vs. Google Cloud Spanner

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonCrateDB  Xexclude from comparisonetcd  Xexclude from comparisonGoogle Cloud Spanner  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.Distributed Database based on LuceneA 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.
Primary database modelRelational DBMSDocument store
Spatial DBMS
Search engine
Time Series DBMS
Vector DBMS
Key-value storeRelational DBMS
Secondary database modelsRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score0.69
Rank#226  Overall
#37  Document stores
#5  Spatial DBMS
#16  Search engines
#19  Time Series DBMS
#11  Vector DBMS
Score7.05
Rank#53  Overall
#5  Key-value stores
Score2.69
Rank#101  Overall
#51  Relational DBMS
Websitewww.cockroachlabs.comcratedb.cometcd.io
github.com/­etcd-io/­etcd
cloud.google.com/­spanner
Technical documentationwww.cockroachlabs.com/­docscratedb.com/­docsetcd.io/­docs
github.com/­etcd-io/­etcd/­tree/­master/­Documentation
cloud.google.com/­spanner/­docs
DeveloperCockroach LabsCrateGoogle
Initial release201520132017
Current release24.1.0, May 20245.8.1, August 20243.4, August 2019
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen SourceOpen Source infoApache Version 2.0commercial
Cloud-based only infoOnly available as a cloud servicenononoyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJavaGo
Server operating systemsLinux
macOS
Windows
All Operating Systems, including Kubernetes with CrateDB Kubernetes Operator supportFreeBSD
Linux
Windows infoexperimental
hosted
Data schemedynamic schemaFlexible Schema (defined schema, partial schema, schema free)schema-freeyes
Typing infopredefined data types such as float or dateyesyesnoyes
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 indexesyesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes, but no triggers and constraints, and PostgreSQL compatibilitynoyes infoQuery statements complying to ANSI 2011
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
PostgreSQL wire protocol
Prometheus Remote Read/Write
RESTful HTTP API
gRPC
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
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.NET
Erlang
Go infocommunity maintained client
Java
JavaScript (Node.js) infocommunity maintained client
Perl infocommunity maintained client
PHP
Python
R
Ruby infocommunity maintained client
Scala infocommunity maintained client
.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
Server-side scripts infoStored proceduresnouser defined functions (Javascript)nono
Triggersnonoyes, watching key changesno
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 RAFTConfigurable replication on table/partition-levelUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Multi-source replication with 3 replicas for regional instances.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infousing Google Cloud Dataflow
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Read-after-write consistency on record level
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrity
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infounique row identifiers can be used for implementing an optimistic concurrency control strategynoACID infoStrict serializable isolation
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.nononono
User concepts infoAccess controlRole-based access controlrights management via user accountsnoAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)

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
CockroachDBCrateDBetcdGoogle Cloud Spanner
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

CrateDB Appoints Jeff Olson as New CRO
9 July 2024, PR Newswire

CrateDB Announces Availability of CrateDB on Google Cloud Marketplace
8 April 2024, Datanami

Taleo Consulting and CrateDB Announce Strategic Partnership to Transform Data Management and Analytics in Financial Services markets
29 July 2024, PR Newswire

How We Designed CrateDB as a Realtime SQL DBMS for the Internet of Things
29 August 2017, The New Stack

CrateDB Appoints Sergey Gerasimenko as New CTO
19 February 2024, PR Newswire

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



Share this page

Featured Products

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.

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

Present your product here