DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. PostgreSQL vs. YugabyteDB

System Properties Comparison CockroachDB vs. PostgreSQL vs. YugabyteDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonPostgreSQL  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.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLHigh-performance distributed SQL database for global, internet-scale applications. Wire compatible with PostgreSQL.
Primary database modelRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.06
Rank#59  Overall
#33  Relational DBMS
Score559.25
Rank#4  Overall
#4  Relational DBMS
Score0.95
Rank#177  Overall
#89  Relational DBMS
Websitewww.cockroachlabs.comwww.postgresql.orgwww.yugabyte.com
Technical documentationwww.cockroachlabs.com/­docswww.postgresql.org/­docsdocs.yugabyte.com
github.com/­yugabyte/­yugabyte-db
DeveloperCockroach LabsPostgreSQL Global Development Group infowww.postgresql.org/­developerYugabyte Inc.
Initial release20151989 info1989: Postgres, 1996: PostgreSQL2017
Current release20.2, November 202013.2 , February 20212.4, January 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachCloud: Get your applications to market faster with a fully managed CockroachDB instance. Leave the daily maintenance, security, and operations of your database to us, and spend more time building apps and running your business.ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageGoCC and C++
Server operating systemsLinux
macOS
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Data schemedynamic schemayesdepending on used data model
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.noyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infostandard with numerous extensionsyes, PostgreSQL compatible
APIs and other access methodsJDBCADO.NET
JDBC
native C library
ODBC
streaming API for large objects
YCQL, an SQL-based flexible-schema API with its roots in Cassandra Query Language
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C#
C++
Go
Java
JavaScript (Node.js)
Python
Ruby
Server-side scripts infoStored proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.yes infosql, plpgsql, C
Triggersnoyesyes
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 RAFTpartitioning by range, list and (since PostgreSQL 11) by hashHash and Range Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSource-replica replication infoother methods possible by using 3rd party extensionsBased on Raft distributed consensus protocol, minimum 3 replicas for continuous availability
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyStrong consistency on writes and tunable consistency on reads
Foreign keys infoReferential integrityyesyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDDistributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes infobased on RocksDB
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 controlfine grained access rights according to SQL-standardyes
More information provided by the system vendor
CockroachDBPostgreSQLYugabyteDB
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 scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Key customersComcast, SpaceX, eBay, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Kindred,...
» more
Market metrics8K+ long-running clusters 900+ CockroachDB Enterprise clusters 2K+ CockroachCloud...
» 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
3rd partiesGeneral SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

ClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

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

More resources
CockroachDBPostgreSQLYugabyteDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Cockroach Labs releases CockroachDB 20.2, Strengthens Position as Ideal Database for Modern Cloud Applications
10 November 2020, PRNewswire

CockroachDB Available in Microsoft Azure Marketplace
16 February 2021, PRNewswire

Cockroach Labs Simplifies Adding a Database to Kubernetes
17 November 2020, PRNewswire

CockroachDB creator Cockroach Labs raises $160 million at a $2 billion valuation
12 January 2021, VentureBeat

Cockroach Labs Announces Availability of CockroachDB on Red Hat Marketplace
9 September 2020, PRNewswire

provided by Google News

Five tips for a smooth migration to PostgreSQL
7 May 2021, Information Age

Guest View: OLAP + OLTP = ...PostgreSQL?
12 April 2021, SDTimes.com

Rockset Enables Real-Time Analytics for MySQL and PostgreSQL
17 April 2021, DevPro Journal

Jan Wieck, Former Postgres Core Team Member, Joins Crunchy Data - PRNewswire
26 April 2021, PRNewswire

Rockset takes a deeper dive into enterprise data pool
15 April 2021, ZDNet

provided by Google News

Yugabyte Releases Database on Kubernetes Clusters
7 May 2021, Container Journal

Yugabyte :DB 2.7 Now Generally Available, Extending Multi-Cloud and Kubernetes Support
5 May 2021, Marketscreener.com

YugabyteDB 2.7 available, extending multi-cloud and kubernetes support
7 May 2021, Express Computer

Yugabyte Raises More Funds, Announces Acquisition
3 March 2021, Datanami

Yugabyte Hardens Security in Latest Platform Release
12 February 2021, Database Trends and Applications

provided by Google News

Job opportunities

Customer Success Manager
Cockroach Labs, Intake, MT

Software Engineering Lead (Remote-US only)
Soteria LLC, Remote

Account Executive, Washington, DC
Cockroach Labs, Washington, DC

Product Support Engineer - Remote
Cloudentity, Seattle, WA

Channel Account Manager
Cockroach Labs, Cloud, IA

SQL Server DBA
OneMain Financial, Baltimore, MD

Mid Level PostgreSQL DBA
XTIVIA, Remote

Software Developer (Junior)
DBDriven.net, Dumfries, VA

Junior MS SQL Server Database Administrator
FEDDATA, Washington, DC

Department
Aunalytics, Link, WV

Database Administrator
Backblaze, San Mateo, CA

Software Engineer 2 (Full-stack / Microservices)- Multiple Locations
U.S. Bank, Cincinnati, OH

Database Engineer
Hudson River Trading, New York, NY

Lead Software Engineer - Systems Developer
PassiveLogic, Cottonwood Heights, UT

Data Visualization Developer
CipherTrace, San Francisco Bay Area, CA

jobs by Indeed




Share this page

Featured Products

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Vertica logo

The fastest unified analytical warehouse at extreme scale with in-database Machine Learning. Try Vertica for free with no time limit.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

Present your product here