DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Datomic vs. PostgreSQL vs. YugabyteDB

System Properties Comparison CockroachDB vs. Datomic vs. PostgreSQL vs. YugabyteDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDatomic  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.Datomic builds on immutable values, supports point-in-time queries and uses 3rd party systems for durabilityWidely 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 and feature compatible with PostgreSQL.
Primary database modelRelational DBMSRelational 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
Score7.98
Rank#56  Overall
#33  Relational DBMS
Score2.18
Rank#132  Overall
#65  Relational DBMS
Score623.16
Rank#4  Overall
#4  Relational DBMS
Score4.15
Rank#93  Overall
#47  Relational DBMS
Websitewww.cockroachlabs.comwww.datomic.comwww.postgresql.orgwww.yugabyte.com
Technical documentationwww.cockroachlabs.com/­docsdocs.datomic.comwww.postgresql.org/­docsdocs.yugabyte.com
github.com/­yugabyte/­yugabyte-db
DeveloperCockroach LabsCognitectPostgreSQL Global Development Group infowww.postgresql.org/­developerYugabyte Inc.
Initial release201520121989 info1989: Postgres, 1996: PostgreSQL2017
Current release21.1.2, June 20211.0.6362, January 202215.1, November 20222.14, July 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infolimited edition freeOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononono
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.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL DBaaS hosting On-Premises and on clouds such as AWS, Azure, GCP and DigitalOcean with no vendor lock-in. Leverage any extension and get SSH access.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
Yugabyte Cloud 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 languageGoJava, ClojureCC and C++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Data schemedynamic schemayesyesdepending on used data model
Typing infopredefined data types such as float or dateyesyesyesyes
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.nonoyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infostandard with numerous extensionsyes, PostgreSQL compatible
APIs and other access methodsJDBCRESTful HTTP APIADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
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
Clojure
Java
.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 proceduresnoyes infoTransaction Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.yes infosql, plpgsql, C
TriggersnoBy using transaction functionsyesyes
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 RAFTnone infoBut extensive use of caching in the application peerspartitioning by range, list and (since PostgreSQL 11) by hashHash and Range Sharding, row-level geo-partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnone infoBut extensive use of caching in the application peersSource-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 methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyStrong consistency on writes and tunable consistency on reads
Foreign keys infoReferential integrityyesnoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDDistributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyes infousing external storage systems (e.g. Cassandra, DynamoDB, PostgreSQL, Couchbase and others)yesyes infobased on RocksDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes inforecommended only for testing and developmentnono
User concepts infoAccess controlRole-based access controlnofine grained access rights according to SQL-standardyes
More information provided by the system vendor
CockroachDBDatomicPostgreSQLYugabyteDB
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 scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Systems of record and engagement for cloud native applications that require resilience,...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB self-hosted clusters 20K+ CockroachDB...
» more
900,000+ lifetime clusters deployed 5.5K+ GitHub stars 4.3K+ 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

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 partiesFujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

The State of PostgreSQL 2022 survey is now open!
» more

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

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

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

More resources
CockroachDBDatomicPostgreSQLYugabyteDB
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

show all

Recent citations in the news

Hasura Native Integrations with CockroachDB and AWS Athena Give Users Fast, Resilient, Secure GraphQL APIs Instantly
8 November 2022, Business Wire

In Conversation with Spencer Kimball, CEO, Cockroach Labs
17 November 2022, mattturck.com

CockroachDB gets database migration tool, as CockroachDB Serverless launches
21 September 2022, InfoWorld

CockroachDB adds command line tool as database hits version 22.1
24 May 2022, The Register

CockroachDB 22.1 Strengthens its Distributed SQL Database
3 June 2022, Database Trends and Applications

provided by Google News

Should Functional Programming Be the Future of Software Development?
13 November 2022, developers.slashdot.org

The Datomic Information Model
1 February 2013, InfoQ.com

Low-resolution description of the conformational space for intrinsically disordered proteins | Scientific Reports
9 November 2022, Nature.com

Brazil’s Nubank Acquires US Software Firm Cognitect
30 July 2020, Nearshore Americas

Lucas Cavalcanti on Using Clojure, Microservices, Hexagonal Architecture and Public Cloud at Nubank
16 August 2021, InfoQ.com

provided by Google News

How to Launch a PostgreSQL Database in the Cloud With AWS RDS - MUO
24 November 2022, MakeUseOf

New Features for Azure Database for PostgreSQL Flexible Server
4 November 2022, InfoQ.com

Azure CosmosDB for PostgreSQL Reaches General Availability
2 November 2022, iProgrammer

PostgreSQL multiple commands security bypass vulnerability [CVE-2022-1552]
14 November 2022, SystemTek

Azure SQL Trigger for Azure Functions in Public Preview
27 November 2022, InfoQ.com

provided by Google News

Emergent Announces Partnership with Yugabyte
9 November 2022, PR Newswire

Yugabyte Joins the Microsoft Intelligent Data Platform Partner Ecosystem
12 October 2022, Business Wire

Yugabyte Achieves SOC 2 Type II and SOC 3 Attestations
27 October 2022, Business Wire

Achieving Good Data and Database Modernization To Enable Successful Strategies |
17 November 2022, Spiceworks News and Insights

Yugabyte and UL Systems Announce Strategic Partnership to Accelerate Cloud-Native Transactional Database Adoption
12 July 2022, Business Wire

provided by Google News

Job opportunities

Lead DBA
JPMorgan Chase Bank, N.A., Houston, TX

Staff Product Manager, SQL
Cockroach Labs, New York, NY

Web Developer PHP/SQL
Round Sky, Las Vegas, NV

Golang Software Engineer - (USA Remote)
Humanity, Atlanta, GA

VP, Product Management
Cockroach Labs, New York, NY

React Software Developer
Medical Database, Inc, Irvine, CA

Senior Software Engineer (Clojure Developer)
symplr, Remote

PostgreSQL DB
Cognizant, Atlanta, GA

PostgreSQL DBA
Luxoft, Remote

PostgreSQL DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL Apps DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL DBA/Developer*
Virtual Service Operations, United States

Head Of Creative Services
YugabyteDB, United States

Account Executive - Chicago
YugabyteDB, United States

Community Manager
YugabyteDB, United States

Account Executive - New York
YugabyteDB, United States

Benelux Account Executive
YugabyteDB, United States

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Datastax Astra logo

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

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!

Present your product here