DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. HarperDB vs. PostgreSQL vs. Realm

System Properties Comparison CockroachDB vs. HarperDB vs. PostgreSQL vs. Realm

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 comparisonRealm  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 SQLA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core Data
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.Document store
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
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score0.60
Rank#244  Overall
#38  Document stores
Score636.25
Rank#4  Overall
#4  Relational DBMS
Score7.41
Rank#52  Overall
#8  Document stores
Websitewww.cockroachlabs.comwww.harperdb.iowww.postgresql.orgrealm.io
Technical documentationwww.cockroachlabs.com/­docsdocs.harperdb.io/­docswww.postgresql.org/­docsrealm.io/­docs
DeveloperCockroach LabsHarperDBPostgreSQL Global Development Group infowww.postgresql.org/­developerRealm, acquired by MongoDB in May 2019
Initial release201520171989 info1989: Postgres, 1996: PostgreSQL2014
Current release24.1.0, May 20243.1, August 202116.3, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infofree community edition availableOpen Source infoBSDOpen Source
Cloud-based only infoOnly available as a cloud servicenononono
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.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageGoNode.jsC
Server operating systemsLinux
macOS
Windows
Linux
OS X
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Android
Backend: server-less
iOS
Windows
Data schemedynamic schemadynamic schemayesyes
Typing infopredefined data types such as float or dateyesyes infoJSON data typesyesyes
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.no
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like data manipulation statementsyes infostandard with numerous extensionsno
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
.Net
Java infowith Android only
Objective-C
React Native
Swift
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.no inforuns within the applications so server-side scripts are unnecessary
Triggersnonoyesyes infoChange Listeners
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 hashnone
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 extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDAtomic execution of specific operationsACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes, using LMDByesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesnoyes infoIn-Memory realm
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesfine grained access rights according to SQL-standardyes

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 partiesSharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» 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
CockroachDBHarperDBPostgreSQLRealm
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

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

provided by Google News

Meet HarperDB, Winner of the Startups of the Year in Denver
9 February 2024, hackernoon.com

Startups of the Year 2023: Meet HarperDB - A Database and Application Development Platform
22 June 2023, hackernoon.com

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

Unlocking immersive golfing experiences with AWS Wavelength | Amazon Web Services
29 November 2022, AWS Blog

HarperDB: An underdog SQL / NoSQL database | ZDNET
7 February 2018, ZDNet

provided by Google News

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, azure.microsoft.com

How To Schedule PostgreSQL Backups With GitHub Actions
6 June 2024, The New Stack

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, blogs.oracle.com

provided by Google News

MongoDB aims to unify developer experience with launch of MongoDB Cloud
9 June 2020, diginomica

Danish CEO explains Silicon Valley learning curve for European entrepreneurs - San Francisco Business Times
6 October 2016, The Business Journals

Is Swift the Future of Server-side Development?
12 September 2017, Solutions Review

Kotlin Programming Language Will Surpass Java On Android Next Year
15 October 2017, Fossbytes

Java Synthetic Methods — What are these? | by Vaibhav Singh
27 February 2021, DataDrivenInvestor

provided by Google News



Share this page

Featured Products

Milvus logo

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

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

Neo4j logo

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

Present your product here