Amazon DocumentDB (with MongoDB compatibility) adds support for 46 new MongoDB operators in version 8.0.1
News
Amazon DocumentDB (with MongoDB compatibility) now supports 46 additional MongoDB aggregation operators and cursor methods in version 8.0.1, expanding query API compatibility for easier MongoDB workload migration.
- Accumulators (13): $top, $topN, $bottom, $bottomN, $firstN, $lastN, $maxN, $minN, $count, $median, $percentile, $stdDevPop, $stdDevSamp
- Trigonometry (15): $sin, $cos, $tan, $asin, $acos, $atan, $atan2, $sinh, $cosh, $tanh, $asinh, $acosh, $atanh, $degreesToRadians, $radiansToDegrees
- Bitwise aggregation (4): $bitAnd, $bitOr, $bitXor, $bitNot
- Arithmetic (3): $round, $trunc, $sigmoid
- Data size and type (4): $binarySize, $bsonSize, $isNumber, $toUUID
- Timestamp (2): $tsIncrement, $tsSecond
- Stages and other (5): $sortByCount, $listSearchIndexes, $sampleRate, cursor.min(), cursor.max()
These operators are available in all regions where Amazon DocumentDB is available, enabling MongoDB applications to migrate without code changes.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Nov 14
2025
2025
Announcing Amazon DocumentDB (with MongoDB compatibility) version 8.0
Jul 10
2026
2026
Amazon DocumentDB (with MongoDB compatibility) now supports R8g.24xlarge and R8g.48xlarge instances
Apr 20
2026
2026
Amazon DocumentDB (with MongoDB compatibility) now supports in-place upgrade from version 5.0 to 8.0
May 21
2026
2026
Amazon DocumentDB (with MongoDB compatibility) Serverless is now available on DocumentDB 8.0
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.