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
- AWS Resource Explorer supports 47 additional resource types

- (Updated) Microsoft 365 Copilot (web and mobile): Sharing Copilot Notebooks and mobile app rollout [MC1179160]
![(Updated) Microsoft 365 Copilot (web and mobile): Sharing Copilot Notebooks and mobile app rollout [MC1179160] 3 ai generated 7845384 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon EC2 R8i and R8i-flex instances are now available in Europe (London)

- (Updated) Microsoft Teams: Enhanced peripheral data in Pro Management portal reports for BYOD spaces [MC1090689]
![(Updated) Microsoft Teams: Enhanced peripheral data in Pro Management portal reports for BYOD spaces [MC1090689] 5 danbo 4326940 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![(Updated) Microsoft 365 Copilot (web and mobile): Sharing Copilot Notebooks and mobile app rollout [MC1179160] 3 ai generated 7845384 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/ai-generated-7845384_1920-150x150.webp)

![(Updated) Microsoft Teams: Enhanced peripheral data in Pro Management portal reports for BYOD spaces [MC1090689] 5 danbo 4326940 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/danbo-4326940_1920-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)