DB-EnginesExtremeDB: white paper about the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. YugabyteDB

System Properties Comparison CockroachDB vs. YugabyteDB

Please select another system to include it in the comparison.

Our visitors often compare CockroachDB and YugabyteDB with TiDB, PostgreSQL and Citus.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonYugabyteDB  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.High-performance distributed SQL database for global, internet-scale applications. Wire and feature compatible with PostgreSQL.
Primary database modelRelational DBMSRelational DBMS
Secondary database modelsDocument store
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.54
Rank#64  Overall
#36  Relational DBMS
Score3.37
Rank#102  Overall
#52  Relational DBMS
Websitewww.cockroachlabs.comwww.yugabyte.com
Technical documentationwww.cockroachlabs.com/­docsdocs.yugabyte.com
github.com/­yugabyte/­yugabyte-db
DeveloperCockroach LabsYugabyte Inc.
Initial release20152017
Current release23.1.1, May 20232.19, September 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono
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.YugabyteDB Managed is the fully managed database-as-a-service offering of YugabyteDB. Get started quickly, and effortlessly ensure continuous availability and limitless scale of your cloud native applications.
Implementation languageGoC and C++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Data schemedynamic schemadepending on used data model
Typing infopredefined data types such as float or dateyesyes
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.nono
Secondary indexesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes, PostgreSQL compatible
APIs and other access methodsJDBCJDBC
YCQL, an SQL-based flexible-schema API with its roots in Cassandra Query Language
YSQL - a fully relational SQL API that is wire compatible with the SQL language in PostgreSQL
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Scala
Server-side scripts infoStored proceduresnoyes infosql, plpgsql, C
Triggersnoyes
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 RAFTHash and Range Sharding, row-level geo-partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTBased on Raft distributed consensus protocol, minimum 3 replicas for continuous availability
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyStrong consistency on writes and tunable consistency on reads
Foreign keys infoReferential integrityyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDDistributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes infobased on RocksDB
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 controlyes
More information provided by the system vendor
CockroachDBYugabyteDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
YugabyteDB is an open source distributed SQL database for cloud native transactional...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
PostgreSQL compatible: Get instantly productive with a PostgreSQL compatible RDBMS....
» more
Typical application scenariosPayment processing, user account management, metadata management, identity access...
» more
Systems of record and engagement for cloud native applications that require resilience,...
» 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
2 Million+ lifetime clusters deployed, 6.5K+ GitHub stars, 7K YugabyteDB Community...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more
Apache 2.0 license for the database
» more

Related products and services

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

More resources
CockroachDBYugabyteDB
Recent citations in the news

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

CockroachDB Dedicated is Now Generally Available on Azure
4 October 2023, PR Newswire

CockroachDB hits Azure at last after five-year mission
9 June 2023, The Register

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

CockroachDB now supports Microsoft Azure, multiregion deployments
16 May 2023, InfoWorld

provided by Google News

YugabyteDB Managed Introduces Product Labs Experience for Immersive Distributed SQL Learning
16 November 2023, Business Wire

Yugabyte adds multiregion Kubernetes support to YugabyteDB 2.18
24 May 2023, InfoWorld

Yugabyte Announces Keynote and Expert Speakers for the Fifth Annual Distributed SQL Summit
25 August 2023, Business Wire

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

YugabyteDB Managed introduces Product Labs experience for immersive distributed SQL learning
16 November 2023, Bdaily News

provided by Google News

Job opportunities

Application Developer - CockroachDB
Accenture, Charlotte, NC

Backend Engineer, Managed Datastores
Render, San Francisco Bay Area, CA

Software Engineer Graduate (Database Team) - 2024 Start (BS/MS)
ByteDance, San Jose, CA

Node.js Developer
Rdsolutions, Mountain View, CA

Engineering Manager, Platform
LaunchDarkly, Remote

jobs by Indeed



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

AllegroGraph logo

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

Redis logo

The world’s most loved real‑time data platform.
Try free

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here