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

System Properties Comparison CockroachDB vs. HarperDB vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHarperDB  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.Ultra-low latency distributed database with an intuitive REST API supporting NoSQL and SQL (including joins). Deployment of functions and databases simultaneously with a consolidated node-level architecture.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSDocument storeRelational 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.09
Rank#59  Overall
#33  Relational DBMS
Score0.46
Rank#283  Overall
#42  Document stores
Score613.83
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comharperdb.iowww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docsharperdb.io/­developers/­documentation/­overviewwww.postgresql.org/­docs
DeveloperCockroach LabsHarperDBPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201520171989 info1989: Postgres, 1996: PostgreSQL
Current release21.1.2, June 20213.1, August 202115.2, February 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infofree community edition availableOpen 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 languageGoNode.jsC
Server operating systemsLinux
macOS
Windows
Linux
OS X
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemedynamic schemadynamic schemayes
Typing infopredefined data types such as float or dateyesyes infoJSON data typesyes
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 PostgreSQLSQL-like data manipulation statementsyes infostandard with numerous extensions
APIs and other access methodsJDBCJDBC
ODBC
React Hooks
RESTful HTTP/JSON API
WebSocket
ADO.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#
C++
ColdFusion
D
Dart
Delphi
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Lisp
MatLab
Objective C
Perl
PHP
PowerShell
Prolog
Python
R
Ruby
Rust
Scala
Swift
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnoCustom Functions infosince release 3.1user 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 RAFTA table resides as a whole on one (or more) nodes in a clusterpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infothe nodes on which a table resides can be definedSource-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 dataACIDAtomic execution of specific operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes, using LMDByes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesno
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBHarperDBPostgreSQL
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, Bitski, Five9,...
» more
Market metrics8K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ 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 partiesInstaclustr: Fully Hosted & Managed PostgreSQL
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» 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

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

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

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

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
CockroachDBHarperDBPostgreSQL
DB-Engines blog posts

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

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) 

show all

Conferences and events

PGCon 2023, PostgreSQL Conference for Users and Developers
Ottawa, Canada, 30 May 2023 - 2 June 2023

Recent citations in the news

How New Cockroach Database Release Simplifies Payment Card ...
22 February 2023, Acceleration Economy

CockroachDB brings user-defined functions to distributed SQL
8 December 2022, TechTarget

Cockroach Labs debuts serverless edition of its popular ...
21 September 2022, SiliconANGLE News

Database Futures with a Cockroach Labs Co-Founder
27 January 2023, Datanami

From Fast Start to Super Scale, CockroachDB 22.1 Eases the ...
24 May 2022, PR Newswire

provided by Google News

Verizon APIs leverage AWS Wavelength for latency-sensitive app ...
2 March 2023, Light Reading

HarperDB 4.0 integrates with open-source connectivity platform ...
17 January 2023, SiliconANGLE News

Edison Interactive partners with HarperDB to deliver premier digital ...
30 August 2022, PR Newswire

Jaxon Repp on HarperDB Distributed Database Platform
23 March 2022, InfoQ.com

Stephen Goldberg Named 2023 Bill Daniels Ethical Leader of the ...
9 January 2023, business-news.ucdenver.edu

provided by Google News

From a Fan: On the Ascendance of PostgreSQL
3 March 2023, The New Stack

Amazon Aurora PostgreSQL Adds Write-Through Cache to Improve ...
18 March 2023, InfoQ.com

Google makes AlloyDB for PostgreSQL available in 16 new regions
28 February 2023, InfoWorld

PGEDGE LAUNCHES FIRST FULLY DISTRIBUTED EDGE ...
7 March 2023, PR Newswire

The 7 Best PostgreSQL Remote Databases - MUO
20 February 2023, MakeUseOf

provided by Google News

Job opportunities

Golang Software Engineer - (USA Remote)
PlagScan, Remote

Software Engineer III
JPMorgan Chase Bank, N.A., Jersey City, NJ

Lead Software Engineer - Python, ReactJS for Product Office
JPMorgan Chase Bank, N.A., Jersey City, NJ

Sr. Staff Software Engineer
CoreLogic, Milwaukee, WI

Senior Software Engineer, Storage Platform
Roblox, San Mateo, CA

NodeJS Customer Success Engineer
HarperDB, Inc., Remote

Junior Backend Developer
Actum Lab, Austin, TX

Entry Level Django Developer
I28 Technologies Corporation, Remote

PostgreSQL DB
Cognizant, Atlanta, GA

Software Engineer – Front, Back and/or Full Stack
Noblis, Reston, VA

Database Administrator
Leidos, Remote

jobs by Indeed



Share this page

Featured Products

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

The world’s most loved real‑time data platform.
Try free

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.

Present your product here