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. FoundationDB vs. PostgreSQL

System Properties Comparison CockroachDB vs. FoundationDB vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFoundationDB  Xexclude from comparisonPostgreSQL  Xexclude from comparison
Created as commercial project in 2013, FoundationDB has been acquired by Apple in March 2015 and was withdrawn from the market. As a consequence, the product was removed from the DB-Engines ranking. In April 2018, Apple open-sourced FoundationDB and it therefore reappears in the ranking.
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.Ordered key-value store. Core features are complimented by layers.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSDocument store infosupported via specific layer
Key-value store
Relational DBMS infosupported via specific SQL-layer
Relational 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
Score6.67
Rank#58  Overall
#32  Relational DBMS
Score1.27
Rank#151  Overall
#26  Document stores
#28  Key-value stores
#74  Relational DBMS
Score568.51
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comwww.foundationdb.orgwww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docsapple.github.io/­foundationdbwww.postgresql.org/­docs
DeveloperCockroach LabsFoundationDBPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201520131989 info1989: Postgres, 1996: PostgreSQL
Current release21.1.2, June 20216.2.28, November 202013.3, May 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open 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.
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 languageGoC++C
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemedynamic schemaschema-free infosome layers support schemasyes
Typing infopredefined data types such as float or dateyesno infosome layers support typingyes
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.
Secondary indexesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLsupported in specific SQL layer onlyyes infostandard with numerous extensions
APIs and other access methodsJDBCADO.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
.Net
C
C++
Go
Java
JavaScript infoNode.js
PHP
Python
Ruby
Swift
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnoin SQL-layer onlyuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnonoyes
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 RAFTShardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesSource-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 ConsistencyLinearizable consistencyImmediate Consistency
Foreign keys infoReferential integrityyesin SQL-layer onlyyes
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 persistentyesyesyes
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 controlnofine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBFoundationDBPostgreSQL
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 partiesEDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

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

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

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

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

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

Moving digital transformation to next stage, Cockroach Labs brings distributed database for cloud native applications
1 June 2021, SiliconANGLE News

Cockroach Labs Names Lorenzo Montesi as CFO
14 June 2021, PRNewswire

Introducing CockroachDB 21.1: The World's Most Powerful Global Database is Now Also the Easiest
18 May 2021, PRNewswire

What's the secret to database success? The answer may surprise you
21 June 2021, TechRepublic

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

provided by Google News

2014 - NoSQL Has Its Day
1 June 2021, Datanami

Key Value Database Market Expected to Witness High Growth over the Forecast to 2027 By Major industry Players: Redis Labs, Aerospike, Couchbase, Amazon Web Services (AWS), ArangoDB – The Courier
18 June 2021, The Courier

Mobile Power Generation Equipment Rentals Market Report 2021 by Top Key Players: MongoDB, Oracle, Teradata, Fujitsu, Google, FoundationDB – The ERX News
23 June 2021, The ERX News

FoundationDB, a very interesting NoSQL database owned by Apple, is now an open-source project
19 April 2018, GeekWire

FoundationDB Goes Open Source
23 April 2018, Datanami

provided by Google News

EDB turns up the heat on PostgreSQL to fire up enterprise database market
21 June 2021, SiliconANGLE News

PostgreSQL benefits and challenges: A snapshot
27 May 2021, InfoWorld

Postgres Professional adds enterprise-features, PostgreSQL 13 updates
8 June 2021, VentureBeat

Staying power: the growing impact of PostgreSQL on enterprise marks Postgres Vision 2021
15 June 2021, SiliconANGLE News

Deploying a Data Warehouse With PostgreSQL
2 June 2021, CDOTrends

provided by Google News

Job opportunities

Associate Marketing Recruiter
Cockroach Labs, United States

Account Executive, Enterprise
Cockroach Labs, Enterprise, AL

Channel Account Manager
Cockroach Labs, Cloud, IA

Administrative Workplace Partner
Cockroach Labs, San Francisco, CA

Product Recruiter
Cockroach Labs, United States

QA Engineering Lead
The Helper Bees, Remote

Senior PostgreSQL DBA(US citizen/Green card only)
The Apptech Group, Baltimore, MD

PostgreSQL Database Engineer
Dovel Technologies, LLC, Silver Spring, MD

Database Administrator - PostgreSQL
ZenQMS, Ardmore, PA

PostgreSQL DBA
Ramsey Solutions, Franklin, TN

jobs by Indeed




Share this page

Featured Products

Vertica logo

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

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

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

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