Skip to content

Commit 346aeee

Browse files
committed
update documentdb page
1 parent 7a6ff74 commit 346aeee

File tree

1 file changed

+39
-41
lines changed

1 file changed

+39
-41
lines changed

source/documentdb-support.txt

Lines changed: 39 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,11 @@ Amazon DocumentDB Compatibility
1818
:backlinks: none
1919
:depth: 1
2020

21-
.. figure:: /figures/documentdb.png
22-
:alt: Amazon DocumentDB logo
23-
24-
`Amazon DocumentDB (with MongoDB compatibility) <https://docs.aws.amazon.com/documentdb/latest/developerguide/what-is.html>`__
25-
is a fast, reliable, and fully managed database service. Amazon DocumentDB makes it easy
26-
to set up, operate, and scale MongoDB-compatible databases in the cloud.
27-
With Amazon DocumentDB, you can run the same application code and use the same drivers
28-
and tools that you use with MongoDB.
29-
3021
Version Information
3122
-------------------
3223

33-
Amazon DocumentDB supports MongoDB v4.0 and MongoDB v5.0. These versions don't
34-
support all the newer features and functionality in the versions of MongoDB available
24+
Amazon DocumentDB supports MongoDB v4.0 and MongoDB v5.0. These versions don't support all of the
25+
newer features and functionality available in the versions of MongoDB available
3526
on `MongoDB Atlas. <https://www.mongodb.com/docs/atlas/>`__
3627

3728
.. tip:: MongoDB Version History
@@ -42,43 +33,54 @@ on `MongoDB Atlas. <https://www.mongodb.com/docs/atlas/>`__
4233
Compatibility
4334
-------------
4435

45-
As of November 2023, Amazon DocumentDB is about 34 percent compatible with the
46-
MongoDB API.
47-
4836
On Amazon DocumentDB, the following MongoDB features are
4937
available in a limited capacity or are not supported at all:
5038

51-
- **Features**: `Capped collections <https://www.mongodb.com/docs/manual/core/capped-collections/>`__,
52-
`map-reduce operations <https://www.mongodb.com/docs/v7.0/core/map-reduce/>`__,
53-
`GridFS <https://www.mongodb.com/docs/manual/core/gridfs/>`__,
54-
`text indexes <https://www.mongodb.com/docs/manual/core/indexes/index-types/index-text/>`__,
55-
`partial indexes <https://www.mongodb.com/docs/manual/core/index-partial/>`__,
56-
`case-insensitive indexes <https://www.mongodb.com/docs/manual/core/index-case-insensitive/>`__
57-
- **Commands**: ``collMod``, ``createView``, ``filemd5``, ``reIndex``, ``connPoolStats``,
58-
``dbHash``, ``features``, sharding commands (aside from ``enableSharding`` and
39+
- **Features**: :manual:`Capped collections</core/queryable-encryption/>`,
40+
:manual:`map-reduce operations </core/map-reduce/>`,
41+
:manual:`GridFS </core/gridfs/>`,
42+
:manual:`text indexes </core/indexes/index-types/index-text/>`,
43+
:atlas:`vector search indexes </atlas-vector-search/vector-search-type/>`,
44+
:manual:`partial indexes </core/index-partial/>`,
45+
:manual:`case-insensitive indexes </core/index-case-insensitive/>`,
46+
:manual:`time-series data </core/timeseries/timeseries-bucketing/>`,
47+
:manual:`on-demand materialized views </core/materialized-views/>`,
48+
:manual:`client-side field level encryption </core/csfle/>`,
49+
:manual:`queryable encryption</core/queryable-encryption/>`
50+
- **Commands**: ``collMod``, ``collMod:expireAfterSeconds``, ``copydb``,
51+
``createView``, ``filemd5``, ``reIndex``, ``connPoolStats``, ``dbHash``,
52+
``features``, ``getLastError``, ``getPrevError``, ``parallelCollectionScan``,
53+
``resetError``, ``endSessions``, ``killAllSessionsByPattern``,
54+
``refreshSessions``, sharding commands (aside from ``enableSharding`` and
5955
``shardCollection``)
60-
- **Query Operators**: ``$expr``, ``$text``, ``$where``, ``$meta``, ``$box``, ``$center``,
61-
``$centerSphere``, ``$polygon``, ``$near``
62-
- **Aggregation Operators**: ``$accumulator``, ``$count``, ``$ceil``, ``$exp``, ``$floor``,
63-
``$ln``, ``$log``, ``$log10``, ``$pow``, ``$sqrt``, ``$trunc``, ``$round``, ``$first``,
64-
``$last``, ``$switch``, ``$binarySize``, ``$bsonSize``, ``$dateFromParts``,
65-
``$dateToParts``, ``$dateTrunc``, ``$dateDiff``, ``$setDifference``, ``$anyElementTrue``,
66-
``$allElementsTrue``, ``$ltrim``, ``$rtrim``, ``$trim``, ``$regexFind``,
67-
``$regexFindAll``, ``$regexMatch``, ``$replaceOne``, ``$replaceAll``, ``$convert``,
68-
``$toBool``, ``$toDate``, ``$toDecimal``, ``$toDouble``, ``$toInt``, ``$toLong``,
69-
``$toObjectId``, ``$toString``, ``$isNumber``, ``$rand``, ``$sampleRate``, ``$getField``
70-
- **Aggregation Stages**: ``$collStats``, ``$facet``, ``$bucket``, ``$bucketAuto``,
71-
``$sortByCount``, ``$listLocalSessions``, ``$listSessions``, ``$graphLookup``
56+
- **Query Operators**: ``$expr``, ``$jsonSchema``, ``$text``, ``$where``,
57+
``$meta``, ``$box``, ``$center``, ``$centerSphere``, ``$polygon``, ``$near``,
58+
``$uniqueDocs``
59+
- **Aggregation Operators**: ``$accumulator``, ``$count``, ``$stdDevPop``,
60+
``$stdDevSamp``, ``$pow``, ``$trunc``, ``$round``, ``$first``, ``$last``,
61+
``$switch``, ``$binarySize``, ``$bsonSize``, ``$dateFromParts``,
62+
``$dateToParts``, ``$dateTrunc``, ``$dateDiff``, ``$ltrim``, ``$rtrim``,
63+
``$trim``, ``$regexFind``, ``$regexFindAll``, ``$regexMatch``,
64+
``$replaceOne``, ``$replaceAll``, ``$isNumber``, ``$rand``, ``$sampleRate``,
65+
``$getField``
66+
- **Aggregation Stages**: ``$collStats``, ``$facet``, ``$bucket``,
67+
``$bucketAuto``, ``$sortByCount``, ``$unionWith``, ``$set``,
68+
``$setWindowFields``, ``$unset``, ``$listLocalSessions``, ``$listSessions``,
69+
``$graphLookup``, ``$merge``, ``$planCacheStats``
70+
- **Cursor Methods**: ``cursor.collation()``, ``cursor.max()``,
71+
``cursor.min()``, ``cursor.noCursorTimeout()``, ``cursor.returnKey()``,
72+
``cursor.showRecordId()``, ``cursor.tailable()``
7273

73-
In addition, Amazon DocumentDB does not leverage indexes when you perform
74-
queries that contain any of the following operators:
74+
In addition, Amazon DocumentDB does not leverage indexes when performing queries
75+
that contain any of the following operators:
7576

7677
- ``$ne``
7778
- ``$nin``
7879
- ``$nor``
7980
- ``$not``
8081
- ``$exists``
81-
- ``$elemMatch``
82+
- ``$distinct``
83+
- ``$elemMatch`` when used in nested queries
8284

8385
To learn more about Amazon DocumentDB's compatibility with MongoDB v4.0 and MongoDB v5.0,
8486
see the following AWS documentation:
@@ -87,10 +89,6 @@ see the following AWS documentation:
8789
- `Functional Differences: Amazon DocumentDB and MongoDB <https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html>`__
8890
- `Supported MongoDB APIs, Operations, and Data Types <https://docs.aws.amazon.com/documentdb/latest/developerguide/mongo-apis.html>`__
8991

90-
For the most current compatibility status between Amazon DocumentDB and MongoDB, see the
91-
`Is Amazon DocumentDB Compatible with MongoDB Atlas? <https://www.isdocumentdbreallymongodb.com/>`__
92-
website.
93-
9492
Support
9593
-------
9694

0 commit comments

Comments
 (0)