DB-EnginesInstaclustr banner English
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MongoDB vs. PostgreSQL

System Properties Comparison MongoDB vs. PostgreSQL

Please select another system to include it in the comparison.

Our visitors often compare MongoDB and PostgreSQL with MySQL, Microsoft SQL Server and MariaDB.

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionOne of the most popular document storesWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelDocument storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Additional database modelsDocument store
Key-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score330.95
Rank#5  Overall
#1  Document stores
Score386.18
Rank#4  Overall
#4  Relational DBMS
Websitewww.mongodb.comwww.postgresql.org
Technical documentationdocs.mongodb.com/­manualwww.postgresql.org/­docs/­manuals
DeveloperMongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20091989 info1989: Postgres, 1996: PostgreSQL
Current release3.6.1, December 201710.1, November 2017
License infoCommercial or Open SourceOpen Source infoAGPL version 3, commercial license availableOpen Source infoBSD
Cloud-based infoOnly available as a cloud servicenono
Implementation languageC++C
Server operating systemsLinux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-free infoAlthough schema-free, documents of the same collection often follow the same structureyes
Typing infopredefined data types such as float or dateyes infostring, integer, double, boolean, date, object_idyes
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.yes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyes
SQL infoSupport of SQLnoyes infostandard with numerous extensions
APIs and other access methodsproprietary protocol using JSONnative C library
streaming API for large objects
ADO.NET
JDBC
ODBC
Supported programming languagesActionscript infoinofficial driver
C
C#
C++
Clojure infoinofficial driver
ColdFusion infoinofficial driver
D infoinofficial driver
Dart infoinofficial driver
Delphi infoinofficial driver
Erlang
Go infoinofficial driver
Groovy infoinofficial driver
Haskell
Java
JavaScript
Lisp infoinofficial driver
Lua infoinofficial driver
MatLab infoinofficial driver
Perl
PHP
PowerShell infoinofficial driver
Prolog infoinofficial driver
Python
R infoinofficial driver
Ruby
Scala
Smalltalk infoinofficial driver
.Net
C
C++
Delphi
Java infoJDBC
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnoyes
Partitioning methods infoMethods for storing different data on different nodesShardingdeclarative partitioning (by range or by list) since PostgreSQL 10.0 infoprior to 10.0, partitioning could be realized with table inheritance
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-slave replicationMaster-slave replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoatomic operations within a single document possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyes infooptionalyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlAccess rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
MongoDBPostgreSQL
Specific characteristicsMongoDB is the next-generation database that helps businesses transform their industries...
» more
Competitive advantagesBy offering the best of traditional databases as well as the flexibility, scale,...
» more
Typical application scenariosInternet of Things (Bosch, Silver Spring Networks) Mobile (The Weather Channel, ADP,...
» more
Key customersADP, Adobe, AstraZeneca, BBVA, Bosch, Cisco, CERN, Department of Veteran Affairs,...
» more
Market metrics20 million downloads (growing at thousands downloads per day). 2,000+ customers including...
» more
Licensing and pricing modelsMongoDB database server: Free Software Foundation’s GNU AGPL v3.0. 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.

3rd party products and services
3rd partiesProgress DataDirect: Data connectivity across standard SQL and REST
» more

DBHawk: Powerful web-based MongoDB GUI. Connect securely to on-premise MongoDB or MongoDB on the Cloud, Atlas or mLab.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

DBHawk: a web-based PostgreSQL/Greenplum database tool. Boost database development and BI productivity with an online Universal database tool.
» more

Progress DataDirect: Data connectivity across standard SQL and REST
» more

We invite representatives of 3rd party vendors to contact us for presenting information about their offerings here.

More resources
MongoDBPostgreSQL
DB-Engines blog posts

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

show all

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

show all

Conferences and events

MongoDB World 2018
New York, USA, 26-27 June 2018

PGCon 2018, PostgreSQL Conference for Users and Developers
Ottawa, Canada, 29 May 2018 - 1 June 2018

Recent citations in the news

MongoDB - A Catchy Name To Go With A Catchy Technology
12 January 2018, Seeking Alpha

MongoDB, Inc. Announces Change to Presentation Time at 20th Annual Needham Growth Conference
10 January 2018, PR Newswire (press release)

3 Takeaways From MongoDB's First Quarter as a Public Company
29 December 2017, Motley Fool

MongoDB, Inc. to Present at 20th Annual Needham Growth Conference
8 January 2018, PR Newswire (press release)

Mongodb (NASDAQ:MDB) versus Its Peers Financial Comparison
15 January 2018, The Ledger Gazette

provided by Google News

Transitioning from PostgreSQL to an Analytical Database for Higher Performance and Massive Scale
16 January 2018, TechRepublic

SD Times news digest: OutSystems' new style editor, Google's Community Connectors, and PostgreSQL is DBMS of ...
3 January 2018, SDTimes.com

How the Meltdown and Spectre chip flaws will impact cloud computing
5 January 2018, TechRepublic

Massive Intel CPU flaw: Understanding the technical details of Meltdown and Spectre
4 January 2018, TechRepublic

Here's how, and why, the Spectre and Meltdown patches will hurt ...
11 January 2018, Ars Technica

provided by Google News

Job opportunities

Software Engineer, Data
Virta Health, San Francisco, CA

Front-End Dev with Full-Stack Aspirations
Eventsquid, Remote

BIG DATA ENGINEER
Moffitt Cancer Center, Tampa, FL

Big Data Engineer
Lenovo, Raleigh, NC

Big Data Engineer
Lenovo, Chicago, IL

Dev Ops Engineer
Ursus Incorporated, Ashburn, VA

SQL Database Administrator
MindFinders, Inc., Rockville, MD

ESRI Database Engineer
Trinity Global Consulting, LLC, Tysons Corner, VA

Database Clerk with administrative duties.
School Business and Services of California, West Sacramento, CA

SQL Database Architect
Government Consulting Solutions, LLC, Chantilly, VA

jobs by Indeed




Share this page

Featured Products

Redis logo

Start now with Redis Cloud
Secure, highly available Redis as a serverless, hosted, fully managed cloud service.
Sign up here.

Datastax logo

Datastax delivers Apache Cassandra as part of a database platform purpose built for IOT, Web and Mobile Apps. Download now.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Neo4j logo

Get your step-by-step guide comparing RDBMS to graph databases, including data models, query languages, and deployment strategies.

RavenDB logo

.NET & Linux,
try the next level in performance with RavenDB 4.0 where Speed meets ACID.
Free download.

Present your product here