DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Citus vs. CockroachDB vs. Google Cloud Spanner

System Properties Comparison Citus vs. CockroachDB vs. Google Cloud Spanner

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCitus  Xexclude from comparisonCockroachDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparison
DescriptionScalable hybrid operational and analytics RDBMS for big data use cases based on PostgreSQLCockroachDB 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.
Primary database modelRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.21
Rank#129  Overall
#61  Relational DBMS
Score6.39
Rank#60  Overall
#34  Relational DBMS
Score3.37
Rank#97  Overall
#50  Relational DBMS
Websitewww.citusdata.comwww.cockroachlabs.comcloud.google.com/­spanner
Technical documentationdocs.citusdata.comwww.cockroachlabs.com/­docscloud.google.com/­spanner/­docs
DeveloperCockroach LabsGoogle
Initial release201020152017
Current release8.1, December 201823.1.1, May 2023
License infoCommercial or Open SourceOpen Source infoAGPL, commercial license also availableOpen Source infoApache 2.0, commercial license availablecommercial
Cloud-based only infoOnly available as a cloud servicenonoyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.
Implementation languageCGo
Server operating systemsLinuxLinux
macOS
Windows
hosted
Data schemeyesdynamic schemayes
Typing infopredefined data types such as float or dateyesyesyes
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.yes infospecific XML type available, but no XML query functionalitynono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infostandard, with numerous extensionsyes, wire compatible with PostgreSQLyes infoQuery statements complying to ANSI 2011
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBCgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
Supported programming languages.Net
C
C++
Delphi
Java
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.nono
Triggersyesnono
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal 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 RAFTSharding
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsMulti-source replication using RAFTMulti-source replication with 3 replicas for regional instances.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infousing Google Cloud Dataflow
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyes 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 dataACIDACIDACID infoStrict serializable isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonono
User concepts infoAccess controlfine grained access rights according to SQL-standardRole-based access controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)
More information provided by the system vendor
CitusCockroachDBGoogle Cloud Spanner
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosPayment processing, user account management, metadata management, identity access...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, Netflix, LUSH, Bose, Shipt,...
» more
Market metrics12K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more

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
CitusCockroachDBGoogle Cloud Spanner
Recent citations in the news

Distributed PostgreSQL Benchmarks: Azure Cosmos DB, CockroachDB, and YugabyteDB
8 July 2023, InfoQ.com

Microsoft acquires Citus Data, re-affirming its commitment to Open Source and accelerating Azure PostgreSQL ...
24 January 2019, Microsoft

Microsoft Benchmarks Distributed PostgreSQL DBs
10 July 2023, Datanami

Microsoft acquires Citus Data
24 January 2019, TechCrunch

Citus Data Turns Postgres into a Scalable Distributed Database System
18 December 2017, The New Stack

provided by Google News

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

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

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

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

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

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

More AI Added to Google Cloud's Databases
29 February 2024, EnterpriseAI

Google Cloud adds vector support to all its database offerings
29 February 2024, InfoWorld

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, 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.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it 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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Milvus logo

The open source vector database for GenAI.
Try Managed Milvus Free

Present your product here