Amazon DocumentDB

From Wikipedia, the free encyclopedia
Amazon DocumentDB
Initial releaseJanuary 2019; 4 years ago (2019-01) [1]
Operating systemCross-platform
Available inEnglish

Amazon DocumentDB is a managed proprietary NoSQL database service that supports document data structures, with some compatibility with MongoDB version 3.6 (released by MongoDB in 2017) and version 4.0 (released by MongoDB in 2018). As a document database, Amazon DocumentDB can store, query, and index JSON data. It is available on Amazon Web Services.[2][3] As of March 2023, AWS introduced some compliance with MongoDB 5.0 but lacks time series collection support. [4]

Main features[edit]

A document database natively stores JSON data. DocumentDB provides single document lookups, index scans, regular expression queries, and aggregations. It can create single-field, compound, and multi-key indexes to improve the performance of query patterns. Reads from the indexes on the primary instance are read-after-write consistent and users can delete or create new indexes at any time.

DocumentDB was an enhancement to the Amazon Aurora relational database system,[5] specifically the PostgreSQL-compatible edition. Its architecture separates storage and computing so that each layer can scale independently, though the system is limited to a single writable primary. Amazon DocumentDB, through Aurora PostgreSQL, uses the Aurora Storage Engine,[6] originally built for the MySQL relational database. This storage engine is distributed, fault-tolerant, self-healing, and durable, which it maintains by replicating data six ways across three AWS Availability Zones (AZs).[2][7] Amazon DocumentDB databases cannot span AWS Regions or span cloud providers, nor can Amazon DocumentDB run on-premises. The system can support up to 15 low-latency readable replicas and continuously backs up all changes to Amazon S3.

See also[edit]


  1. ^ "Amazon Web Services calls MongoDB's licensing bluff with DocumentDB, a new managed database". 9 January 2019.
  2. ^ a b "Amazon DocumentDB - FAQs".
  3. ^ "AWS Regional Services".
  4. ^ "Amazon DocumentDB (with MongoDB compatibility) adds support for MongoDB 5.0 wire protocol and client-side field level encryption".
  5. ^ "Is DocumentDB Really PostgreSQL?". EDB. Retrieved 2021-02-07.
  6. ^ "Introducing the Aurora Storage Engine". Amazon Web Services. 2016-12-12. Retrieved 2021-12-12.
  7. ^ "Choosing Regions and Availability Zones". Amazon DocumentDB. Retrieved 2023-03-01.

External links[edit]