The 5.x Rapid Releases introduce new time series capabilities including support for automatic data archival, data densification and gap filling to better handle missing data, delete operations, columnar compression, and the ability to distribute time series datasets across shards.
Cross-Shard Joins & Graph Traversals (5.1)
Introduced in prior versions of the database, $lookup (joins) and $graphlookup (graph traversal) previously supported replica sets. Now they work against sharded clusters, allowing users to combine and traverse related data across shards.
Live Resharding
Horizontally scale-out your workloads without friction. As your workload grows and evolves, change the shard key for your collection on-demand with no database downtime or complex migrations.
Stable API
The Stable API, introduced with 5.0, makes it easier to upgrade to the latest MongoDB version without worrying about introducing breaking changes to your code base. It includes a subset of MongoDB commands that applications commonly use, and which we'll ensure remain consistent for many years.
Multi-Cloud Client-Side Encryption
Bringing some of the industry’s strongest data privacy controls to all major clouds. MongoDB drivers encrypt sensitive fields application-side, protecting data in-motion, in-memory, and at-rest. With MongoDB 5.1, client-side encryption will also work with any KMIP-compliant KMS.
Operational Analytics Enhancements (5.1)
Aggregations that write the results of a pipeline to a collection — e.g., updating a view — can now execute on secondaries. This allows users to direct more of their analytics queries to dedicated analytics resources, minimizing resource contention with operational workloads.
Run MongoDB 5.0 Anywhere
From multi-cloud clusters or serverless instances in Atlas to private and hybrid deployments controlled by Ops Manager 5.0 and Kubernetes, no other database gives you so much freedom.
Initial Sync via File Copy (5.2)
The 5.2 Rapid Release introduces the option of performing a node's initial sync with a file copy rather than a logical sync, with up to 4x performance improvement.
New Accumulators & Array Sorting (5.2)
New operators in 5.2 include options to calculate elements of a data set ($top, $bottom, $maxN, $minN, and more), plus $sortArray to sort an array based on its elements.
Long-Running Snapshot Queries (5.0, 5.2)
Introduced in preview in 5.0 and promoted to GA in 5.2, this capability allows queries to run up to five minutes by default (or longer with configuration) while maintaining consistent snapshot isolation.
The only multi-cloud application data platform that gives you the versatility you need to build sophisticated and resilient applications that can adapt to changing customer demands and market trends.
100x Faster Facets and Counts
Available in preview with Atlas Search, faceted search allows users to filter and quickly navigate search results by category and see the total number of results per category for at-a-glance statistics.
Atlas Data API
Available in preview the new Atlas Data API is a REST-like, resilient API that will allow developers to perform complex queries and aggregations against data in MongoDB Atlas. Scalable and secure, enjoy the efficiency of intuitive, out-of-the-box data access over HTTPS.
Build rich full-text search on top of your data in Atlas. Define semantically equivalent search terms to improve results and help people find the content they want.
MongoDB 5.1 will introduce a completely redesigned LINQ interface that will allow C# developers to write all of their MongoDB queries — including sophisticated aggregation pipelines — natively in C#.