diff --git a/source/documentdb-support.txt b/source/documentdb-support.txt new file mode 100644 index 000000000..aa60aa4e3 --- /dev/null +++ b/source/documentdb-support.txt @@ -0,0 +1,85 @@ +.. _documentdb-compat: + +=============================== +Amazon DocumentDB Compatibility +=============================== + +.. facet:: + :name: genre + :values: reference + +.. meta:: + :keywords: AWS, support + +.. contents:: On this page + :local: + :backlinks: none + :depth: 1 + +.. figure:: /figures/documentdb.png + :alt: Amazon DocumentDB logo + +`Amazon DocumentDB (with MongoDB compatibility) `__ +is a fast, reliable, and fully managed database service. Amazon DocumentDB makes it easy +to set up, operate, and scale MongoDB-compatible databases in the cloud. +With Amazon DocumentDB, you can run the same application code and use the same drivers +and tools that you use with MongoDB. + +Version Information +------------------- + +Amazon DocumentDB supports MongoDB v4.0 and MongoDB v5.0. These versions don't +support all the newer features and functionality in the versions of MongoDB available +on `MongoDB Atlas. `__ + +.. tip:: MongoDB Version History + + To learn more about the features available in each version of MongoDB, see + `MongoDB Evolved - Version History. `__ + +Compatibility +------------- + +As of November 2023, Amazon DocumentDB is about 34 percent compatible with the +MongoDB API. + +On Amazon DocumentDB, the following MongoDB features are +available in a limited capacity or are not supported at all: + +- **Features**: `Capped collections `__, + `map-reduce operations `__, + `GridFS `__, + `text indexes `__, + `partial indexes `__, + `case-insensitive indexes `__ +- **Commands**: ``collMod``, ``createView``, ``filemd5``, ``reIndex``, ``connPoolStats``, + ``dbHash``, ``features``, sharding commands (aside from ``enableSharding`` and + ``shardCollection``) +- **Query Operators**: ``$expr``, ``$text``, ``$where``, ``$meta``, ``$box``, ``$center``, + ``$centerSphere``, ``$polygon``, ``$near`` +- **Aggregation Operators**: ``$accumulator``, ``$count``, ``$ceil``, ``$exp``, ``$floor``, + ``$ln``, ``$log``, ``$log10``, ``$pow``, ``$sqrt``, ``$trunc``, ``$round``, ``$first``, + ``$last``, ``$switch``, ``$binarySize``, ``$bsonSize``, ``$dateFromParts``, + ``$dateToParts``, ``$dateTrunc``, ``$dateDiff``, ``$setDifference``, ``$anyElementTrue``, + ``$allElementsTrue``, ``$ltrim``, ``$rtrim``, ``$trim``, ``$regexFind``, + ``$regexFindAll``, ``$regexMatch``, ``$replaceOne``, ``$replaceAll``, ``$convert``, + ``$toBool``, ``$toDate``, ``$toDecimal``, ``$toDouble``, ``$toInt``, ``$toLong``, + ``$toObjectId``, ``$toString``, ``$isNumber``, ``$rand``, ``$sampleRate``, ``$getField`` +- **Aggregation Stages**: ``$collStats``, ``$facet``, ``$bucket``, ``$bucketAuto``, + ``$sortByCount``, ``$listLocalSessions``, ``$listSessions``, ``$graphLookup`` + +To learn more about Amazon DocumentDB's compatibility with MongoDB v4.0 and MongoDB v5.0, +see the following AWS documentation: + +- `MongoDB Compatibility `__ +- `Functional Differences: Amazon DocumentDB and MongoDB `__ +- `Supported MongoDB APIs, Operations, and Data Types `__ + +For the most current compatibility status between Amazon DocumentDB and MongoDB, see +`Is Amazon DocumentDB Compatible with MongoDB Atlas? `__ + +Support +------- + +MongoDB doesn't offer commercial support for Amazon DocumentDB. For help with this product, +contact `AWS Support. `__ diff --git a/source/figures/documentdb.png b/source/figures/documentdb.png new file mode 100644 index 000000000..b5524057f Binary files /dev/null and b/source/figures/documentdb.png differ diff --git a/source/index.txt b/source/index.txt index a1fda8caa..432988de4 100644 --- a/source/index.txt +++ b/source/index.txt @@ -141,8 +141,15 @@ Featured Community-Supported Libraries :icon: /icons/r.svg :icon-alt: R icon -Don’t see your desired language? Browse more `community-supported libraries `__. +Don't see your desired language? Browse more `community-supported libraries `__. +Compatibility with Other Document Databases +------------------------------------------- + +See the following pages for information about other document databases' compatibility +with MongoDB: + +- :ref:`documentdb-compat` .. toctree::