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

DBMS > Amazon DocumentDB vs. PostgreSQL

System Properties Comparison Amazon DocumentDB vs. PostgreSQL

Please select another system to include it in the comparison.

Our visitors often compare Amazon DocumentDB and PostgreSQL with Amazon DynamoDB, MongoDB and Microsoft Azure Cosmos DB.

Editorial information provided by DB-Engines
NameAmazon DocumentDB  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionFast, scalable, highly available, and fully managed MongoDB-compatible database serviceWidely 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.
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.89
Rank#164  Overall
#25  Document stores
Score522.99
Rank#4  Overall
#4  Relational DBMS
Websiteaws.amazon.com/­documentdbwww.postgresql.org
Technical documentationaws.amazon.com/­documentdb/­resourceswww.postgresql.org/­docs/­manuals
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20191989 info1989: Postgres, 1996: PostgreSQL
Current release12.3, May 2020
License infoCommercial or Open SourcecommercialOpen Source infoBSD
Cloud-based only infoOnly available as a cloud serviceyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • ScaleGrid: Fully managed PostgreSQL hosting with high availability, dedicated servers, and superuser control on the #1 multi-cloud Amazon RDS alternative.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
Implementation languageC
Server operating systemshostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeyes
Typing infopredefined data types such as float or dateyesyes
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.
Secondary indexesyesyes
SQL infoSupport of SQLnoyes infostandard with numerous extensions
APIs and other access methodsproprietary protocol using JSON (MongoDB compatible)ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesGo
Java
JavaScript (Node.js)
PHP
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnouser 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 nodesnonepartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-availability zones for high availability, asynchronous replication for up to 15 read replicasMaster-slave replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsno infomay be implemented via Amazon Elastic MapReduce (Amazon EMR)no
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate 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 dataAtomic single-document operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlAccess rights for users and rolesfine grained access rights according to SQL-standard

More information provided by the system vendor

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 partiesSQLPro for PostgreSQL: A simple but powerful PostgreSQL database client available on iPhone and iPad as well as macOS.
» more

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» 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

2ndQuadrant: Mission Critical Databases.
» 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
Amazon DocumentDBPostgreSQL
DB-Engines blog posts

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

12 things you should know about Amazon DocumentDB (with MongoDB compatibility)
19 May 2020, idk.dev

Deploying a serverless application using AWS CDK
15 May 2020, idk.dev

Getting Started with Amazon DocumentDB (with MongoDB compatibility); Part 2 – using AWS Cloud9
24 April 2020, idk.dev

Introducing role-based access control for Amazon DocumentDB (with MongoDB compatibility)
27 April 2020, idk.dev

AWS Announces Amazon DocumentDB (with MongoDB Compatibility)
9 January 2019, Business Wire

provided by Google News

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

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

Common administrator responsibilities on Amazon RDS and Amazon Aurora for PostgreSQL databases
18 May 2020, idk.dev

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

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

provided by Google News

Job opportunities

Software Development Engineer - New Database Service
Amazon.com Services LLC, Seattle, WA

Software Development Manager
Amazon.com Services LLC, Seattle, WA

Solutions Architects - NoSQL and In-Memory Database
Amazon Web Services, Inc., United States

Software Development Engineer - PartiQL
Amazon.com Services LLC, Seattle, WA

Sr. Data Scientist - Amazon Databases
Amazon Web Services, Inc., Seattle, WA

GIS Technician I
Kaart Group, Seattle, WA

SQL Server DBA
DB Best Technologies, Redmond, WA

Scrum Master
EDB, United States

BizOps Business Analyst
Amazon.com Services LLC, Seattle, WA

Junior CRM Administrator - HubSpot (remote)
Percona, Remote

jobs by Indeed




Share this page

Featured Products

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.

Neo4j logo

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

AllegroGraph logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here