|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.
or email your comment to: email@example.com
|Last Updated ( Tuesday, 20 July 2021 )|