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|
|Name||CockroachDB Xexclude from comparison||Datomic Xexclude from comparison||PostgreSQL Xexclude from comparison||YugabyteDB Xexclude from comparison|
|Description||CockroachDB 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 durability||Widely used open source RDBMS Developed as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL||High-performance distributed SQL database for global, internet-scale applications. Wire and feature compatible with PostgreSQL.|
|Primary database model||Relational DBMS||Relational DBMS||Relational DBMS with object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.||Relational DBMS|
|Secondary database models||Document store|
Wide column store
|Developer||Cockroach Labs||Cognitect||PostgreSQL Global Development Group www.postgresql.org/developer||Yugabyte Inc.|
|Initial release||2015||2012||1989 1989: Postgres, 1996: PostgreSQL||2017|
|Current release||21.1.2, June 2021||1.0.6362, January 2022||15.1, November 2022||2.14, July 2022|
|License Commercial or Open Source||Open Source Apache 2.0, commercial license available||commercial limited edition free||Open Source BSD||Open Source Apache 2.0|
|Cloud-based only Only available as a cloud service||no||no||no||no|
|DBaaS offerings (sponsored links) Database 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.||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 language||Go||Java, Clojure||C||C and C++|
|Server operating systems||Linux|
|All OS with a Java VM||FreeBSD|
|Data scheme||dynamic schema||yes||yes||depending on used data model|
|Typing predefined data types such as float or date||yes||yes||yes||yes|
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.||no||no||yes specific XML-type available, but no XML query functionality.||no|
|SQL Support of SQL||yes, wire compatible with PostgreSQL||no||yes standard with numerous extensions||yes, PostgreSQL compatible|
|APIs and other access methods||JDBC||RESTful HTTP API||ADO.NET|
native C library
streaming API for large objects
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 languages||C#|
|Server-side scripts Stored procedures||no||yes Transaction Functions||user defined functions realized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.||yes sql, plpgsql, C|
|Triggers||no||By using transaction functions||yes||yes|
|Partitioning methods Methods for storing different data on different nodes||horizontal partitioning (by key range) all tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFT||none But extensive use of caching in the application peers||partitioning by range, list and (since PostgreSQL 11) by hash||Hash and Range Sharding, row-level geo-partitioning|
|Replication methods Methods for redundantly storing data on multiple nodes||Multi-source replication using RAFT||none But extensive use of caching in the application peers||Source-replica replication other methods possible by using 3rd party extensions||Based on Raft distributed consensus protocol, minimum 3 replicas for continuous availability|
|MapReduce Offers an API for user-defined Map/Reduce methods||no||no||no||no|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate Consistency||Immediate Consistency||Immediate Consistency||Strong consistency on writes and tunable consistency on reads|
|Foreign keys Referential integrity||yes||no||yes||yes|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||ACID||ACID||ACID||Distributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.|
|Concurrency Support for concurrent manipulation of data||yes||yes||yes||yes|
|Durability Support for making data persistent||yes||yes using external storage systems (e.g. Cassandra, DynamoDB, PostgreSQL, Couchbase and others)||yes||yes based on RocksDB|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||no||yes recommended only for testing and development||no||no|
|User concepts Access control||Role-based access control||no||fine grained access rights according to SQL-standard||yes|
|More information provided by the system vendor|
|Specific characteristics||CockroachDB is a cloud-native, distributed SQL database architected for modern applications....|
|YugabyteDB is an open source distributed SQL database for cloud native transactional...|
|Competitive advantages||- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...|
|PostgreSQL compatible: Get instantly productive with a PostgreSQL compatible RDBMS....|
|Typical application scenarios||System of record (financial ledger, inventory management, transaction record), identity...|
|Systems of record and engagement for cloud native applications that require resilience,...|
|Key customers||Comcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...|
|Market metrics||8K+ long-running clusters 2.5K+ CockroachDB self-hosted clusters 20K+ CockroachDB...|
|900,000+ lifetime clusters deployed 5.5K+ GitHub stars 4.3K+ YugabyteDB Community...|
|Licensing and pricing models||- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...|
|Apache 2.0 license for the database|
We invite representatives of system vendors to contact us for updating and extending the system information,
|Related products and services|
|3rd parties||Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
The State of PostgreSQL 2022 survey is now open!
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
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.
Instaclustr: Fully Hosted & Managed PostgreSQL
Percona: Database problems? Not on your watch.
Databases run better with Percona.
pgDash: In-Depth PostgreSQL Monitoring.
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.
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.
EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|DB-Engines blog posts|
Snowflake is the DBMS of the Year 2021
|Recent citations in the news|
Hasura Native Integrations with CockroachDB and AWS Athena Give Users Fast, Resilient, Secure GraphQL APIs Instantly
In Conversation with Spencer Kimball, CEO, Cockroach Labs
CockroachDB gets database migration tool, as CockroachDB Serverless launches
CockroachDB adds command line tool as database hits version 22.1
CockroachDB 22.1 Strengthens its Distributed SQL Database
provided by Google News
Should Functional Programming Be the Future of Software Development?
The Datomic Information Model
Brazil’s Nubank Acquires US Software Firm Cognitect
Lucas Cavalcanti on Using Clojure, Microservices, Hexagonal Architecture and Public Cloud at Nubank
provided by Google News
How to Launch a PostgreSQL Database in the Cloud With AWS RDS - MUO
New Features for Azure Database for PostgreSQL Flexible Server
Azure CosmosDB for PostgreSQL Reaches General Availability
PostgreSQL multiple commands security bypass vulnerability [CVE-2022-1552]
Azure SQL Trigger for Azure Functions in Public Preview
provided by Google News
Emergent Announces Partnership with Yugabyte
Yugabyte Joins the Microsoft Intelligent Data Platform Partner Ecosystem
Yugabyte Achieves SOC 2 Type II and SOC 3 Attestations
Achieving Good Data and Database Modernization To Enable Successful Strategies |
provided by Google News
Staff Product Manager, SQL
Web Developer PHP/SQL
Golang Software Engineer - (USA Remote)
VP, Product Management
React Software Developer
Senior Software Engineer (Clojure Developer)
PostgreSQL Apps DBA
Head Of Creative Services
Account Executive - Chicago
Account Executive - New York
Benelux Account Executive
Share this page