DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. InfluxDB vs. Kingbase vs. MongoDB vs. PostgreSQL

System Properties Comparison CockroachDB vs. InfluxDB vs. Kingbase vs. MongoDB vs. PostgreSQL

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonInfluxDB  Xexclude from comparisonKingbase  Xexclude from comparisonMongoDB  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.DBMS for storing time series, events and metricsAn enterprise-class RDBMS compatible with PostgreSQL and Oracle and widely used in China.One 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 SQL
Primary database modelRelational DBMSTime Series DBMSRelational 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 modelsSpatial DBMS infowith GEO packageDocument store
Spatial DBMS
Spatial 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
Score25.83
Rank#28  Overall
#1  Time Series DBMS
Score0.45
Rank#262  Overall
#123  Relational DBMS
Score421.65
Rank#5  Overall
#1  Document stores
Score645.54
Rank#4  Overall
#4  Relational DBMS
Websitewww.cockroachlabs.comwww.influxdata.com/­products/­influxdb-overviewwww.kingbase.com.cnwww.mongodb.comwww.postgresql.org
Technical documentationwww.cockroachlabs.com/­docsdocs.influxdata.com/­influxdbwww.mongodb.com/­docs/­manualwww.postgresql.org/­docs
DeveloperCockroach LabsBeiJing KINGBASE Information technologies inc.MongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20152013199920091989 info1989: Postgres, 1996: PostgreSQL
Current release23.1.1, May 20232.7.6, April 2024V8.0, August 20216.0.7, June 202316.3, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoMIT-License; commercial enterprise version 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 infoBSD
Cloud-based only infoOnly available as a cloud servicenononono infoMongoDB available as DBaaS (MongoDB Atlas)no
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.
  • MongoDB Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
  • 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 languageGoGoC and JavaC++C
Server operating systemsLinux
macOS
Windows
Linux
OS X infothrough Homebrew
Linux
Windows
Linux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemedynamic schemaschema-freeyesschema-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.yes
Typing infopredefined data types such as float or dateyesNumeric data and Stringsyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
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.nonoyesyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesnoyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageStandard with numerous extensionsRead-only SQL queries via the MongoDB Atlas SQL Interfaceyes infostandard with numerous extensions
APIs and other access methodsJDBCHTTP API
JSON over UDP
ADO.NET
gokb
JDBC
kdbndp
ODBC
PDI
PDO
Pro*C
psycopg2
QT
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
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
Clojure
Erlang
Go
Haskell
Java
JavaScript
JavaScript (Node.js)
Lisp
Perl
PHP
Python
R
Ruby
Rust
Scala
.Net
C
C++
Go
Java
JavaScript (Node.js)
Perl
PHP
Python
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
Server-side scripts infoStored proceduresnonouser defined functionsJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnonoyesyes infoin MongoDB Atlas onlyyes
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 RAFTSharding infoin enterprise version onlyhorizontal partitioning (by range, list and hash) and vertical partitioningSharding 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 hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTselectable replication factor infoin enterprise version onlyyesMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyesno
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 integrityyesnoyesno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes infooptional, enabled by defaultyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoDepending on used storage engineyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlRole-based access controlsimple rights management via user accountsfine grained access rights according to SQL-standardAccess rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBInfluxDBKingbaseMongoDBPostgreSQL
Specific characteristicsInfluxData is the creator of InfluxDB , the open source time series database. It...
» more
MongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesTime to Value InfluxDB is available in all the popular languages and frameworks,...
» more
Built around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosIoT & Sensor Monitoring Developers are witnessing the instrumentation of every available...
» more
AI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersInfluxData has more than 1,900 paying customers, including customers include MuleSoft,...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsFastest-growing database to drive 27,500 GitHub stars Over 750,000 daily active instances
» more
Hundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Licensing and pricing modelsOpen source core with closed source clustering available either on-premise or on...
» more
MongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
News

An Introductory Guide to Grafana Alerts
16 May 2024

What to Expect When You’re Expecting InfluxDB: A Guide
14 May 2024

Introduction to Apache Iceberg
9 May 2024

Converting Timestamp to Date in Java
7 May 2024

A Detailed Guide to C# TimeSpan
2 May 2024

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 partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more
pgDash: In-Depth PostgreSQL Monitoring.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

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

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

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

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

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

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

More resources
CockroachDBInfluxDBKingbaseMongoDBPostgreSQL
DB-Engines blog posts

Why Build a Time Series Data Platform?
20 July 2017, Paul Dix (guest author)

Time Series DBMS are the database category with the fastest increase in popularity
4 July 2016, Matthias Gelbmann

Time Series DBMS as a new trend?
1 June 2015, 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

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

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

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

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

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

provided by Google News

Run and manage open source InfluxDB databases with Amazon Timestream | Amazon Web Services
14 March 2024, AWS Blog

Amazon Timestream: Managed InfluxDB for Time Series Data
14 March 2024, The New Stack

InfluxData Collaborating with AWS to Bring InfluxDB and Time Series Analytics to Developers Around the World
14 March 2024, Business Wire

How the FDAP Stack Gives InfluxDB 3.0 Real-Time Speed, Efficiency
15 March 2024, Datanami

AWS and InfluxData partner to offer managed time series database Timestream for InfluxDB
5 April 2024, VentureBeat

provided by Google News

Made in China 2025 is back, with a new name and a focus on database companies – The China Project
19 December 2022, The China Project

Opening preparation - Alekhine defense, Saemisch variation
18 April 2016, Chess.com

Backup & Recovery Solutions from China
4 August 2022, Хабр

provided by Google News

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

A Closer Look at 27 Analyst Recommendations For MongoDB - MongoDB (NASDAQ:MDB)
17 May 2024, Benzinga

MongoDB.local NYC: Charting enterprise AI transformation
7 May 2024, SiliconANGLE News

MongoDB CEO Ittycheria: AI Has Reached 'A Crucible Moment' In Its Development.
9 May 2024, CRN

Apollon Wealth Management LLC Makes New $301000 Investment in MongoDB, Inc. (NASDAQ:MDB)
14 May 2024, Defense World

provided by Google News

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

Distributed PostgreSQL Buyers Guide
16 May 2024, Database Trends and Applications

SolarWinds Unveils Enhanced Database Performance Analyzer with Advanced PostgreSQL Support
14 May 2024, businesswire.com

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

Automatically Generate Types for Your PostgreSQL Database
1 May 2024, The New Stack

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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.

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Milvus logo

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

Present your product here