DB-EnginesCrateDB bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MongoDB vs. PostgreSQL vs. Stardog vs. TinkerGraph

System Properties Comparison MongoDB vs. PostgreSQL vs. Stardog vs. TinkerGraph

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonStardog  Xexclude from comparisonTinkerGraph  Xexclude from comparison
DescriptionOne 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 SQLEnterprise Knowledge Graph platform and graph DBMS with high availability, high performance reasoning, and virtualizationA lightweight, in-memory graph engine that serves as a reference implementation of the TinkerPop3 API
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.Graph DBMS
RDF store
Graph DBMS
Secondary database modelsSearch engine infointegrated Lucene index, currently in MongoDB Atlas only.Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score438.99
Rank#5  Overall
#1  Document stores
Score514.80
Rank#4  Overall
#4  Relational DBMS
Score1.07
Rank#143  Overall
#10  Graph DBMS
#6  RDF stores
Score0.18
Rank#268  Overall
#23  Graph DBMS
Websitewww.mongodb.comwww.postgresql.orgwww.stardog.comtinkerpop.apache.org/­docs/­current/­reference/­#tinkergraph-gremlin
Technical documentationdocs.mongodb.com/­manualwww.postgresql.org/­docs/­manualswww.stardog.com/­docs
DeveloperMongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developerStardog-Union
Initial release20091989 info1989: Postgres, 1996: PostgreSQL20102009
Current release4.2.7, May 202012.3, May 20207.3.0, May 2020
License infoCommercial or Open SourceOpen 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 info60-day fully-featured trial license; 1-year fully-featured non-commercial use license for academics/studentsOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceno infoMongoDB available as DBaaS (MongoDB Atlas)nonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
MongoDB Atlas: Deploy a fully managed cloud database on-demand and ready for use in minutes. Available on AWS, Azure, and GCP.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
  • ScaleGrid: Fully managed PostgreSQL hosting with high availability, dedicated servers, and superuser control on the #1 multi-cloud Amazon RDS alternative.
Implementation languageC++CJavaJava
Server operating systemsLinux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
macOS
Windows
Data schemeschema-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 and OWL/RDFS-schema supportschema-free
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyesyes
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.no infoImport/export of XML data possibleno
Secondary indexesyesyesyes infosupports real-time indexing in full-text and geospatialno
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Connector for BIyes infostandard with numerous extensionsYes, compatible with all major SQL variants through dedicated BI/SQL Serverno
APIs and other access methodsproprietary protocol using JSONADO.NET
JDBC
native C library
ODBC
streaming API for large objects
GraphQL query language
HTTP API
Jena RDF API
OWL
RDF4J API
Sesame REST HTTP Protocol
SNARL
SPARQL
Spring Data
Stardog Studio
TinkerPop 3
TinkerPop 3
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
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
JavaScript (Node.js)
Perl
PHP
Python
Tcl
.Net
Clojure
Groovy
Java
JavaScript
Python
Ruby
Groovy
Java
Server-side scripts infoStored proceduresJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.user defined functions and aggregates, HTTP Server extensions in Javano
Triggersyes infoin MongoDB Atlas onlyyesyes infovia event handlersno
Partitioning methods infoMethods for storing different data on different nodesSharding infopartitioned by hashed, ranged, or zoned sharding keyspartitioning by range, list and (since PostgreSQL 11) by hashnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-slave replicationMaster-slave replication infoother methods possible by using 3rd party extensionsMaster-master replication in HA-Clusternone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyImmediate Consistency in HA-Clusternone
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleyesyes inforelationships in graphsyes infoRelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesno
Durability infoSupport for making data persistentyes infooptionalyesyesoptional
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.2noyesyes
User concepts infoAccess controlAccess rights for users and rolesfine grained access rights according to SQL-standardAccess rights for users and rolesno
More information provided by the system vendor
MongoDBPostgreSQLStardogTinkerGraph
Specific characteristicsMongoDB is the leading modern, general purpose data platform, designed to unleash...
» more
Stardog is an Enterprise Knowledge Graph platform, uniquely combining graph storage...
» more
Competitive advantagesThe MongoDB Data Platform can be used by developers building OLTP and analytical...
» more
Stardog provides a full featureset to aid in data integration for your complex data....
» more
Typical application scenariosInternet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
Stardog is frequently used for: Anti-money laundering & fraud monitoring Customer...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Bosch, Dow Jones, Elsevier, Ericsson, Morgan Stanley, NASA, NIH, Nokia, Salesforce,...
» more
Market metrics70 million downloads (growing at more than 30 thousand downloads per day). 15,000+...
» more
Stardog's technology is based on ground-breaking research by our founders cited 10,000+...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
A fully-featured 60-day Trial license is available for those testing Stardog; contact...
» 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 partiesScaleGrid: Deploy, monitor, backup and scale MongoDB in the cloud with the #1 Database-as-a-Service (DBaaS) platform.
» more

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

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

DBHawk: Secure access to SQL, NoSQL and Cloud databases with an all-in-one solution.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more
Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more

SQLPro for PostgreSQL: A simple but powerful PostgreSQL database client available on iPhone and iPad as well as macOS.
» more

2ndQuadrant: Mission Critical Databases.
» more

CYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

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

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

More resources
MongoDBPostgreSQLStardogTinkerGraph
DB-Engines blog posts

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

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

show all

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

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

show all

Conferences and events

PostgreSQL Online Trainings
Online Training Courses, 4 May 2020 - 11 December 2020

Recent citations in the news

Why You’re Smart to Buy MongoDB
25 May 2020, The Motley Fool

Jepsen Disputes MongoDB's Data Consistency Claims
22 May 2020, InfoQ.com

Rockset Empowers Developers with Real-Time SQL for MongoDB
6 May 2020, GlobeNewswire

MongoDB Gets a New Distribution, as Percona Grasps the Nettle
19 May 2020, Computer Business Review

Analysts Estimate MongoDB (MDB) to Report a Decline in Earnings: What to Look Out for
28 May 2020, Yahoo Finance

provided by Google News

PostgreSQL: Businesses choose open source for digital transformation
12 May 2020, TechHQ

Migrating PostgreSQL from on-premises or Amazon EC2 to Amazon RDS using logical replication
27 May 2020, idk.dev

Best practices for Amazon RDS for PostgreSQL cross-Region read replicas
26 May 2020, idk.dev

Multi-tenant data isolation with PostgreSQL Row Level Security
18 May 2020, idk.dev

Building fast refresh capability in Amazon RDS for PostgreSQL
19 May 2020, idk.dev

provided by Google News

Amazon Neptune review: A scalable graph database for OLTP
13 May 2019, InfoWorld

Save Joern — Open Source at ShiftLeft
8 May 2018, Security Boulevard

provided by Google News

Job opportunities

NoSQL Database Administrator
IBM, United States

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Mongo Database Administrator ( MongoDB )
Regions Bank, Hoover, AL

MongoDB DBA - remote
Percona, Remote

Senior Data Quality Engineer
SpotRight, United States

Jr. Software Developer
FrogSlayer, College Station, TX

PostgreSQL DBA
Navisite, Andover, MA

Junior Developer
Paradyme Management, Greenbelt, MD

Small Business-Improving Mobile Software Engineer
One Click Contractors, Indianapolis, IN

Data Technician (Full- or Part-Time)
Thasos Group, New York, NY

jobs by Indeed




Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

RavenDB logo

Setup a fully managed RavenDB Cloud Database in minutes. Enjoy hosting, management, backups all in one place.
Grab a Free Instance

Datastax Luna logo

Simple, subscription-based support for open source
Apache Cassandra™ from the Cassandra experts.
Learn more.

Couchbase logo

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

Present your product here