DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

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.HarperDB takes the "stack" out of "tech stack" by combining an ultra-fast document-style data store, in-memory cache, real-time message broker, and your application components into a single distributed technology.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
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.02
Rank#68  Overall
#37  Relational DBMS
Score0.49
Rank#244  Overall
#38  Document stores
Score659.62
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comwww.harperdb.iowww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docsdocs.harperdb.io/­docswww.postgresql.org/­docs
DeveloperCockroach LabsHarperDBPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201520171989 info1989: Postgres, 1996: PostgreSQL
Current release24.1.0, May 20243.1, August 202116.4, August 2024
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.
PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
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

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 parties
» more


» more


» more


» more


» 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

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

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

show all

Recent citations in the news

AI Meets Resilience: Cockroach Labs Intros CockroachDB 24.2
2 October 2024, Channel Insider

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scurries off to proprietary software land
23 August 2024, The Register

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

provided by Google News

HarperDB Attracts Significant Growth Investment from Serent Capital
12 June 2024, Business Wire

HarperDB Welcomes Former Couchbase CEO, Bob Wiederhold, as Executive Chairman
28 August 2024, PR Newswire

DoD Successfully Deploys Commercial AI Solutions for COD Project
10 September 2024, Defense Innovation Unit

How to Web Scrape Using Python, Snscrape & HarperDB
17 August 2022, hackernoon.com

5G Open Innovation Lab Announces its 9th Startup Batch
6 March 2024, Business Wire

provided by Google News

YugabyteDB 2.25 Is PostgresSQL 15 Compatible
6 February 2025, iProgrammer

Microsoft builds open source document database on PostgreSQL, suggests FerretDB as front end
27 January 2025, The Register

Amazon Aurora PostgreSQL Limitless Database is now generally available
31 October 2024, AWS Blog

YugabyteDB Levels Up its PostgreSQL Compatibility with PG15 Features and Seamless Upgrades
30 January 2025, Business Wire

Seattle Postgres: Managing Transaction Metadata in PostgreSQL
27 January 2025, GeekWire

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here