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

System Properties Comparison CockroachDB vs. Datomic vs. PostgreSQL

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 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 SQL
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.
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.53
Rank#59  Overall
#33  Relational DBMS
Score1.75
Rank#131  Overall
#64  Relational DBMS
Score618.00
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comwww.datomic.comwww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docsdocs.datomic.comwww.postgresql.org/­docs
DeveloperCockroach LabsCognitectPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201520121989 info1989: Postgres, 1996: PostgreSQL
Current release21.1.2, June 20211.0.6362, January 202214.5, August 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infolimited edition freeOpen Source infoBSD
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.
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.
Implementation languageGoJava, ClojureC
Server operating systemsLinux
macOS
Windows
All OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemedynamic schemayesyes
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.nonoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infostandard with numerous extensions
APIs and other access methodsJDBCRESTful HTTP APIADO.NET
JDBC
native C library
ODBC
streaming API for large objects
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
Server-side scripts infoStored proceduresnoyes infoTransaction Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
TriggersnoBy using transaction functionsyes
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 hash
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 extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infousing external storage systems (e.g. Cassandra, DynamoDB, PostgreSQL, Couchbase and others)yes
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 developmentno
User concepts infoAccess controlRole-based access controlnofine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBDatomicPostgreSQL
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, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc, Bitski,...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB Self-Hosted clusters 15K+ 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
3rd partiesEDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

The State of PostgreSQL 2022 survey is now open!
» 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

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» 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

Instaclustr: Fully Hosted & Managed PostgreSQL
» 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

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

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

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

More resources
CockroachDBDatomicPostgreSQL
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

Cockroach Labs Releases Free "SQL for App Developers" Courses to Bridge Education Gap
20 July 2022, PR Newswire

Cockroach Labs Appoints Former Amazon General Counsel Michelle Wilson to Board of Directors
15 August 2022, PR Newswire

A Modern Database Meets a Modern DevOps Data Platform
12 August 2022, Security Boulevard

CockroachDB 22.1 Ramps up Automation, Scaling – The New Stack
25 May 2022, thenewstack.io

CockroachDB database creator Cockroach Labs raises $278M
16 December 2021, VentureBeat

provided by Google News

The Architecture of Datomic
2 November 2012, InfoQ.com

Rich Hickey on Datomic: Datalog, Databases, Persistent Data Structures
4 April 2012, InfoQ.com

Structural and dynamic mechanisms of GABAA receptor modulators with opposing activities
6 August 2022, Nature.com

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

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

provided by Google News

Timescale Releases Third State of PostgreSQL Report
29 July 2022, PR Newswire

More tenants, more vulnerabilities
16 August 2022, Protocol

How to Work With a PostgreSQL Database Using psql Commands - MUO
20 July 2022, MakeUseOf

Install PostgreSQL pgAdmin 4 on Ubuntu 22.04 LTS Jammy Linux
4 August 2022, Linux Shout

How to Create a CRUD API Using Node, PostgresSQL, and Express - MUO
28 July 2022, MakeUseOf

provided by Google News

Job opportunities

Database Administrator (MYSQL,100% Remote, EST Shifts)
ITGen Systems, Remote

Database Administrator
Techworkers, Remote

Senior Database Administrator
Surescripts, Minneapolis, MN

Platform Engineer (Database)
PLACE Corporate Careers, Denver, CO

Node.js Developer
Aspire Systems, Seattle, WA

Clojure/Datomic Developer
Concentrix Catalyst, Remote

PostgreSQL Database Administrator
Xtivia Inc, Remote

PostgreSQL Apps DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL Consultant
OmniTI, New York, NY

AWS PostgreSQL ETL Data Modeling
Silver Tree Consulting and Services, Raleigh, NC

jobs by Indeed



Share this page

Featured Products

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.

Redis logo

The world’s most loved real‑time data platform.
Try 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.

Present your product here