Skip to content

Commit 99df380

Browse files
authored
DOCSP-34448 - DocumentDB comparison page (#937)
1 parent fc29b6f commit 99df380

File tree

3 files changed

+93
-1
lines changed

3 files changed

+93
-1
lines changed

source/documentdb-support.txt

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
.. _documentdb-compat:
2+
3+
===============================
4+
Amazon DocumentDB Compatibility
5+
===============================
6+
7+
.. facet::
8+
:name: genre
9+
:values: reference
10+
11+
.. meta::
12+
:keywords: AWS, support
13+
14+
.. contents:: On this page
15+
:local:
16+
:backlinks: none
17+
:depth: 1
18+
19+
.. figure:: /figures/documentdb.png
20+
:alt: Amazon DocumentDB logo
21+
22+
`Amazon DocumentDB (with MongoDB compatibility) <https://docs.aws.amazon.com/documentdb/latest/developerguide/what-is.html>`__
23+
is a fast, reliable, and fully managed database service. Amazon DocumentDB makes it easy
24+
to set up, operate, and scale MongoDB-compatible databases in the cloud.
25+
With Amazon DocumentDB, you can run the same application code and use the same drivers
26+
and tools that you use with MongoDB.
27+
28+
Version Information
29+
-------------------
30+
31+
Amazon DocumentDB supports MongoDB v4.0 and MongoDB v5.0. These versions don't
32+
support all the newer features and functionality in the versions of MongoDB available
33+
on `MongoDB Atlas. <https://www.mongodb.com/docs/atlas/>`__
34+
35+
.. tip:: MongoDB Version History
36+
37+
To learn more about the features available in each version of MongoDB, see
38+
`MongoDB Evolved - Version History. <https://www.mongodb.com/evolved>`__
39+
40+
Compatibility
41+
-------------
42+
43+
As of November 2023, Amazon DocumentDB is about 34 percent compatible with the
44+
MongoDB API.
45+
46+
On Amazon DocumentDB, the following MongoDB features are
47+
available in a limited capacity or are not supported at all:
48+
49+
- **Features**: `Capped collections <https://www.mongodb.com/docs/manual/core/capped-collections/>`__,
50+
`map-reduce operations <https://www.mongodb.com/docs/v7.0/core/map-reduce/>`__,
51+
`GridFS <https://www.mongodb.com/docs/manual/core/gridfs/>`__,
52+
`text indexes <https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/>`__,
53+
`partial indexes <https://www.mongodb.com/docs/manual/core/index-partial/>`__,
54+
`case-insensitive indexes <https://www.mongodb.com/docs/manual/core/index-case-insensitive/>`__
55+
- **Commands**: ``collMod``, ``createView``, ``filemd5``, ``reIndex``, ``connPoolStats``,
56+
``dbHash``, ``features``, sharding commands (aside from ``enableSharding`` and
57+
``shardCollection``)
58+
- **Query Operators**: ``$expr``, ``$text``, ``$where``, ``$meta``, ``$box``, ``$center``,
59+
``$centerSphere``, ``$polygon``, ``$near``
60+
- **Aggregation Operators**: ``$accumulator``, ``$count``, ``$ceil``, ``$exp``, ``$floor``,
61+
``$ln``, ``$log``, ``$log10``, ``$pow``, ``$sqrt``, ``$trunc``, ``$round``, ``$first``,
62+
``$last``, ``$switch``, ``$binarySize``, ``$bsonSize``, ``$dateFromParts``,
63+
``$dateToParts``, ``$dateTrunc``, ``$dateDiff``, ``$setDifference``, ``$anyElementTrue``,
64+
``$allElementsTrue``, ``$ltrim``, ``$rtrim``, ``$trim``, ``$regexFind``,
65+
``$regexFindAll``, ``$regexMatch``, ``$replaceOne``, ``$replaceAll``, ``$convert``,
66+
``$toBool``, ``$toDate``, ``$toDecimal``, ``$toDouble``, ``$toInt``, ``$toLong``,
67+
``$toObjectId``, ``$toString``, ``$isNumber``, ``$rand``, ``$sampleRate``, ``$getField``
68+
- **Aggregation Stages**: ``$collStats``, ``$facet``, ``$bucket``, ``$bucketAuto``,
69+
``$sortByCount``, ``$listLocalSessions``, ``$listSessions``, ``$graphLookup``
70+
71+
To learn more about Amazon DocumentDB's compatibility with MongoDB v4.0 and MongoDB v5.0,
72+
see the following AWS documentation:
73+
74+
- `MongoDB Compatibility <https://docs.aws.amazon.com/documentdb/latest/developerguide/compatibility.html#mongodb-50>`__
75+
- `Functional Differences: Amazon DocumentDB and MongoDB <https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html>`__
76+
- `Supported MongoDB APIs, Operations, and Data Types <https://docs.aws.amazon.com/documentdb/latest/developerguide/mongo-apis.html>`__
77+
78+
For the most current compatibility status between Amazon DocumentDB and MongoDB, see
79+
`Is Amazon DocumentDB Compatible with MongoDB Atlas? <https://www.isdocumentdbreallymongodb.com/>`__
80+
81+
Support
82+
-------
83+
84+
MongoDB doesn't offer commercial support for Amazon DocumentDB. For help with this product,
85+
contact `AWS Support. <https://aws.amazon.com/contact-us/>`__

source/figures/documentdb.png

47.8 KB
Loading

source/index.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,15 @@ Featured Community-Supported Libraries
141141
:icon: /icons/r.svg
142142
:icon-alt: R icon
143143

144-
Dont see your desired language? Browse more `community-supported libraries <https://github.com/ramnes/awesome-mongodb#libraries>`__.
144+
Don't see your desired language? Browse more `community-supported libraries <https://github.com/ramnes/awesome-mongodb#libraries>`__.
145145

146+
Compatibility with Other Document Databases
147+
-------------------------------------------
148+
149+
See the following pages for information about other document databases' compatibility
150+
with MongoDB:
151+
152+
- :ref:`documentdb-compat`
146153

147154
.. toctree::
148155

0 commit comments

Comments
 (0)