Developer(s) | Amazon.com |
---|---|
Initial release | January 2019; 6 years ago (2019-01)[1] |
Operating system | Cross-platform |
Available in | English |
Type | |
License | Proprietary |
Website | aws |
Amazon DocumentDB is amanaged proprietaryNoSQLdatabase service that supports document data structures, with some compatibility withMongoDB 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, andindexJSON data. It is available onAmazon Web Services.[2][3] As of March 2023, AWS introduced some compliance with MongoDB 5.0 but lacks time series collection support.[4]
A document database natively stores JSON data. DocumentDB provides single document lookups,index scans,regular expression queries, andaggregations. It can create single-field, compound, andmulti-key indexes to improve the performance of query patterns. Reads from the indexes on the primary instance areread-after-write consistent and users can delete or create new indexes at any time.
DocumentDB was an enhancement to theAmazon 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 isdistributed,fault-tolerant,self-healing, anddurable, which it maintains byreplicating 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 readablereplicas and continuously backs up all changes to Amazon S3.