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

DBMS > CockroachDB vs. Google BigQuery vs. MongoDB vs. PostgreSQL vs. TerarkDB

System Properties Comparison CockroachDB vs. Google BigQuery vs. MongoDB vs. PostgreSQL vs. TerarkDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonGoogle BigQuery  Xexclude from comparisonMongoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTerarkDB  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.Large scale data warehouse service with append-only tablesOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSRelational DBMSDocument storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Key-value store
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Document 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.15
Rank#55  Overall
#33  Relational DBMS
Score60.38
Rank#19  Overall
#13  Relational DBMS
Score421.65
Rank#5  Overall
#1  Document stores
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitewww.cockroachlabs.comcloud.google.com/­bigquerywww.mongodb.comwww.postgresql.orggithub.com/­bytedance/­terarkdb
Technical documentationwww.cockroachlabs.com/­docscloud.google.com/­bigquery/­docswww.mongodb.com/­docs/­manualwww.postgresql.org/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperCockroach LabsGoogleMongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developerByteDance, originally Terark
Initial release2015201020091989 info1989: Postgres, 1996: PostgreSQL2016
Current release23.1.1, May 20236.0.7, June 202316.3, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoBSDcommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud servicenoyesno infoMongoDB available as DBaaS (MongoDB Atlas)nono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageGoC++CC++
Server operating systemsLinux
macOS
Windows
hostedLinux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemedynamic schemayesschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yesschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesno
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 indexesyesnoyesyesno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesRead-only SQL queries via the MongoDB Atlas SQL Interfaceyes infostandard with numerous extensionsno
APIs and other access methodsJDBCRESTful HTTP/JSON APIGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
C++ API
Java API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Java
JavaScript
Objective-C
PHP
Python
Ruby
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C++
Java
Server-side scripts infoStored proceduresnouser defined functions infoin JavaScriptJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnonoyes infoin MongoDB Atlas onlyyesno
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 RAFTnoneSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.partitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integrityyesnono infotypically not used, however similar functionality with DBRef possibleyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infoSince BigQuery is designed for querying dataMulti-document ACID Transactions with snapshot isolationACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes infoIn-memory storage engine introduced with MongoDB version 3.2noyes
User concepts infoAccess controlRole-based access controlAccess privileges (owner, writer, reader) on dataset, table or view level infoGoogle Cloud Identity & Access Management (IAM)Access rights for users and rolesfine grained access rights according to SQL-standardno
More information provided by the system vendor
CockroachDBGoogle BigQueryMongoDBPostgreSQLTerarkDB
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» 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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more
CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» 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

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

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

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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

More resources
CockroachDBGoogle BigQueryMongoDBPostgreSQLTerarkDB
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

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

show all

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

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

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

Conferences, events and webinars

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

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 to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

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

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

provided by Google News

Winning the 2020 Google Cloud Technology Partner of the Year – Infrastructure Modernization Award
22 December 2021, CIO

Google Cloud partners Coinbase to accept crypto payments
11 October 2022, Ledger Insights

Hightouch Announces $38M in Funding and Launches New Customer 360 Toolkit
20 July 2023, Datanami

Hightouch Raises $38M in Funding
19 July 2023, FinSMEs

Google Cloud Platform breaks through with big enterprises, signs up Disney and others
23 March 2016, ZDNet

provided by Google News

Traders Purchase High Volume of MongoDB Put Options (NASDAQ:MDB)
16 May 2024, Defense World

Is Now An Opportune Moment To Examine MongoDB, Inc. (NASDAQ:MDB)?
14 May 2024, Simply Wall St

Build RAG applications with MongoDB Atlas, now available in Knowledge Bases for Amazon Bedrock | Amazon Web ...
2 May 2024, AWS Blog

Here's How Much You Would Have Made Owning MongoDB Stock In The Last 5 Years
16 May 2024, Investing.com UK

MongoDB, Inc. Announces Date of First Quarter Fiscal 2025 Earnings Call
10 May 2024, Yahoo Finance

provided by Google News

Continuously replicate Amazon DynamoDB changes to Amazon Aurora PostgreSQL using AWS Lambda | Amazon ...
14 May 2024, AWS Blog

anynines Launches Quick & Easy PostgreSQL Management in Local Kubernetes Clusters with a9s CLI
16 May 2024, PR Web

SolarWinds Unveils Enhanced Database Performance Analyzer with Advanced PostgreSQL Support
14 May 2024, Business Wire

ServiceNow trades MariaDB for RaptorDB (PostgreSQL)
13 May 2024, Techzine Europe

SolarWinds boosts PostgreSQL support with enhanced DPA 2024.2
15 May 2024, IT Brief Australia

provided by Google News

A Chinese company is making the cloud 200x faster · TechNode
3 July 2017, TechNode

provided by Google News



Share this page

Featured Products

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

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

RaimaDB logo

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

Present your product here