Today, Amazon DocumentDB (with MongoDB compatibility) announces a new query planner, featuring advanced query optimization capabilities and improved performance. PlannerVersion 2.0 for Amazon DocumentDB (with MongoDB compatibility) 5.0 delivers up to 10x performance improvement over the prior version when using find and update operators with indexes. Performance improvements primarily come from using more optimal index plans and enabling index scan support for operators such as negation operators ($neq, $nin) and nested $elementMatch. PlannerVersion 2.0 queries run faster through better cost estimation techniques, optimized algorithms, and enhanced stability.
PlannerVersion 2.0 also simplifies query syntax. For example, you no longer need to provide explicit hints for $regex queries to utilize indexes.
PlannerVersion 2.0 is available in all AWS Regions where Amazon DocumentDB 5.0 is supported. You can enable it by simply modifying the corresponding parameter in your cluster parameter group. The change does not require a cluster restart or cause any downtime. If needed, you can easily revert to using the legacy query planner. To learn more about the new query planner, see Getting Started with New Query Planner.
Categories: general:products/amazon-documentdb,marketing:marchitecture/databases
Source: Amazon Web Services
Latest Posts
- Frontier Admin Control User Assignment Changes [MC1181201]
![Frontier Admin Control User Assignment Changes [MC1181201] 2 pexels chetanvlad 2600312](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Teams support for Android 8 remains, updates and fixes will no longer be provided [MC1181212]
![Microsoft Teams support for Android 8 remains, updates and fixes will no longer be provided [MC1181212] 3 pexels olly 3784324](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Teams admin center: “What’s New” section [MC1181208]
![Teams admin center: "What's New" section [MC1181208] 4 pexels medhat ayad 122846 383838](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- [Reminder] Microsoft Teams Premium Self-Service Trials (Originally announced in MC670435) [MC1181209]
![[Reminder] Microsoft Teams Premium Self-Service Trials (Originally announced in MC670435) [MC1181209] 5 pexels cottonbro 5474294](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Frontier Admin Control User Assignment Changes [MC1181201] 2 pexels chetanvlad 2600312](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-chetanvlad-2600312-150x150.webp)
![Microsoft Teams support for Android 8 remains, updates and fixes will no longer be provided [MC1181212] 3 pexels olly 3784324](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-olly-3784324-150x150.webp)
![Teams admin center: "What's New" section [MC1181208] 4 pexels medhat ayad 122846 383838](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-medhat-ayad-122846-383838-150x150.webp)
![[Reminder] Microsoft Teams Premium Self-Service Trials (Originally announced in MC670435) [MC1181209] 5 pexels cottonbro 5474294](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cottonbro-5474294-150x150.webp)
![(Updated) Configure and manage connected experiences with Edge Connected Feature Control (CFC) – Targeted Release [MC1176364] 7 (Updated) Configure and manage connected experiences with Edge Connected Feature Control (CFC) – Targeted Release [MC1176364]](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-japy-929032-150x150.webp)