MongoDB 5 Adds Live Resharding
Written by Kay Ewbank   
Tuesday, 20 July 2021

MongoDB 5 has been released with native support for time series workloads and the ability to reshard live databases. The preview version of serverless instances on MongoDB Atlas was also announced at the MongoDB.Live conference.

MongoDB is a NoSQL document database that stores its documents in a JSON-like format with schema. MongoDB Atlas is the fully-managed cloud database from the MongoDB team.


A major focus of the new release is 'future proofing'. Specifically, this refers to the live resharding, and to a change to the way MongoDB releases are introduced. Starting with MongoDB 5.0, the software has been redesigned so that upgrades are split into database and a 'versioned' API. Users will be able to upgrade the database without introducing backward-breaking changes that require application-side rework. According to the developers:

"Using the new versioned API decouples your app lifecycle from the database lifecycle, so you only need to update your application when you want to introduce new functionality, not when you upgrade the database."

Future-proofing doesn’t end with the Versioned API. MongoDB 5.0 also introduces Live Resharding, so users can easily change the shard key for collections on demand – with no database downtime – as the workload grows and evolves.

Another improvement is native support for time series. There are new time series collections, clustered indexing, and window functions to make it easier to build and run time series applications. Running a time series applications on the MongoDB application data platform means you can manage the entire time series data lifecycle in MongoDB – from ingestion, storage, querying, real-time analysis, and visualization through to online archiving or automatic expiration as data ages.

The other main announcement made at the conference was a preview version of serverless instances on MongoDB Atlas. This option means users only need to decide the cloud region hosting your data. After that, you’ll get an on-demand database endpoint that dynamically adapts to your application traffic. Serverless instances will support the latest MongoDB 5.0 GA release, Versioned API, and upcoming Rapid Releases. 

This is a major update, and the change in version number reflects that. The team says that starting with MongoDB 5.0, they will be publishing new Rapid Releases every quarter, which will roll up into Major Releases once a year for customers who prefer an annual upgrade cycle.


More Information

MongoDB Website

Related Articles

MongoDB Trends

MongoDB Atlas Adds MultiCloud Cluster Support

MongoDB Adds GraphQL Support

MongoDB Improves Query Language

Amazon Ditches MongoDB, Launches Rival

MongoDB 4 Released

MongoDB 4.0 Gets Multi-Doc ACID Support

MongoDB Stitch Makes App Development Easier

MongoDB 3.2 Released 

MonggoDB 3 Announced


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Vesuvius Challenge Continues

The Vesuvius Challenge is a machine learning and computer vision competition which started in March 2023. Its overarching aim is to read the contents of physically impenetrable Herculaneum Papyri burn [ ... ]

JetBrains Celebrates Software Developers

JetBrains has launched a campaign celebrating software developers worldwide. The campaign is run on behalf of JetBrains IDEs, the company's range of integrated development environment products.

More News

raspberry pi books



or email your comment to:

Last Updated ( Tuesday, 20 July 2021 )