This article contains content that is written like an advertisement. (November 2020)
|Initial release||January 2019|
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. As of March 2023, AWS introduced some compliance with MongoDB 5.0 but lacks time series collection support. 
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, 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, 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). 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.
- ^ "Amazon Web Services calls MongoDB's licensing bluff with DocumentDB, a new managed database". 9 January 2019.
- ^ a b "Amazon DocumentDB - FAQs".
- ^ "AWS Regional Services".
- ^ "Amazon DocumentDB (with MongoDB compatibility) adds support for MongoDB 5.0 wire protocol and client-side field level encryption".
- ^ "Is DocumentDB Really PostgreSQL?". EDB. Retrieved 2021-02-07.
- ^ "Introducing the Aurora Storage Engine". Amazon Web Services. 2016-12-12. Retrieved 2021-12-12.
- ^ "Choosing Regions and Availability Zones". Amazon DocumentDB. Retrieved 2023-03-01.