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

DBMS > CockroachDB vs. Hive vs. PostgreSQL vs. Riak KV

System Properties Comparison CockroachDB vs. Hive vs. PostgreSQL vs. Riak KV

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHive  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRiak KV  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.data warehouse software for querying and managing large distributed datasets, built on HadoopWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLDistributed, fault tolerant key-value store
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.Key-value store infowith links between data sets and object tags for the creation of secondary indexes
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
Score6.39
Rank#60  Overall
#34  Relational DBMS
Score64.82
Rank#18  Overall
#12  Relational DBMS
Score634.91
Rank#4  Overall
#4  Relational DBMS
Score4.95
Rank#76  Overall
#9  Key-value stores
Websitewww.cockroachlabs.comhive.apache.orgwww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docscwiki.apache.org/­confluence/­display/­Hive/­Homewww.postgresql.org/­docswww.tiot.jp/­riak-docs/­riak/­kv/­latest
DeveloperCockroach LabsApache Software Foundation infoinitially developed by FacebookPostgreSQL Global Development Group infowww.postgresql.org/­developerOpenSource, formerly Basho Technologies
Initial release201520121989 info1989: Postgres, 1996: PostgreSQL2009
Current release23.1.1, May 20233.1.3, April 202216.2, February 20243.2.0, December 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2Open Source infoBSDOpen Source infoApache version 2, commercial enterprise edition
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.
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.Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageGoJavaCErlang
Server operating systemsLinux
macOS
Windows
All OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Data schemedynamic schemayesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesno
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.no
Secondary indexesyesyesyesrestricted
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like DML and DDL statementsyes infostandard with numerous extensionsno
APIs and other access methodsJDBCJDBC
ODBC
Thrift
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
HTTP API
Native Erlang Interface
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C++
Java
PHP
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Server-side scripts infoStored proceduresnoyes infouser defined functions and integration of map-reduceuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Erlang
Triggersnonoyesyes infopre-commit hooks and post-commit hooks
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 hashSharding infono "single point of failure"
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTselectable replication factorSource-replica replication infoother methods possible by using 3rd party extensionsselectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infoquery execution via MapReducenoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesnoyesno infolinks between data sets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
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 controlAccess rights for users, groups and rolesfine grained access rights according to SQL-standardyes, using Riak Security
More information provided by the system vendor
CockroachDBHivePostgreSQLRiak KV
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 scenariosPayment processing, user account management, metadata management, identity access...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, Netflix, LUSH, Bose, Shipt,...
» more
Market metrics12K+ 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 partiesAiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» 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

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

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

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

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

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

More resources
CockroachDBHivePostgreSQLRiak KV
DB-Engines blog posts

Why is Hadoop not listed in the DB-Engines Ranking?
13 May 2013, Paul Andlinger

show all

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

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

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

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

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

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

provided by Google News

Altiscale Becomes First Hadoop-as-a-Service to Deliver Apache Hive 0.13
25 March 2024, Yahoo Singapore News

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

Data Engineering in 2024: Predictions For Data Lakes and The Serving Layer
23 January 2024, Datanami

Top 80 Hadoop Interview Questions and Answers for 2024
15 February 2024, Simplilearn

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

provided by Google News

The surprising link between Formula One and enterprise PostgreSQL optimisation
28 March 2024, The Stack

How to Migrate AWS PostgreSQL RDS to Aurora Using Terraform
28 March 2024, Security Boulevard

PostgreSQL pioneer's latest brainchild promises time travel to dodge ransomware
28 March 2024, The Register

Relational Data at the Edge: How Cloudflare Operates Distributed PostgreSQL Clusters
21 March 2024, InfoQ.com

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, azure.microsoft.com

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Riak's NoSQL Database and its New Fit with Apache Mesos
19 August 2015, The New Stack

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

provided by Google News



Share this page

Featured Products

Neo4j logo

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

Milvus logo

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

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

Present your product here