MongoDB Logo

Introduction

MongoDB 7.0 is a major release, and it includes several new features and modifications

Atlas Search Index Management

Beginning with MongoDB 7.0, Atlas Search indexes may be managed using Mongosh methods and database commands instead of the previous manual process.

Changes to the General Architecture A new cache refresh time column has been added to the log messages generated for slow queries. New fields have been incorporated into the currentOp command and the db.currentOp() method.

There are more critical considerations in release notes covering these topics

Security: MongoDB 7.0 has made several updates to security, and encryption has been introduced:

New Aggregation Stages

MongoDB 7.0 has introduced new aggregation stages, $median, and $percentile.

Time Series Changes

There have been changes to time series data in MongoDB 7.0. Time series data is a sequence of data points indexed in time order. It’s often used in meteorology, finance, and health care, where data is collected over time. Most of the time, series limitations are associated with delete operations—delete, deleteOne(), deleteMany(), Bulk.find.delete(), and Bulk.find.deleteOne()—has been removed.

Sharding Changes

Sharding is a method for distributing data across multiple machines. MongoDB 7.0 includes changes introduced in MongoDB Rapid Releases 6.1, 6.2, and 6.3.

Platform Support

MongoDB 7.0 may have made changes to the platforms it supports. This could include adding support for new platforms or dropping support for older ones.

Upgrade Procedures

Upgrading to MongoDB 7.0 involves several steps, including shutting down the instance, replacing the 6.0 binaries with the 7.0 binaries, and enabling backward-incompatible 7.0 features. Testing the upgrade in a staging environment before deploying it to production is recommended.

The Evolution of MongoDB

MongoDB is a NoSQL database that was developed by 10gen, a business started in 2007 by Dwight Merriman and Eliot Horowitz. The original goal of 10gen was to create an open-source platform-as-a-service architecture; however, the firm altered its focus to simply the database layer, which was later released as an open-source project in 2009.

The word "MongoDB" is an abbreviation for "humongous," referring to the database's capacity to scale easily and manage massive amounts of data. It was created as a document-oriented database to solve the constraints of standard relational databases by providing high performance, automatic scaling, and a flexible schema design.

MongoDB soon became popular because of its ease of use and scalability. MongoDB Inc., to which 10gen rebranded itself, has been essential in its development, including features such as horizontal scaling via sharding, real-time aggregation, and full-text search capabilities.

MongoDB Inc. launched the MongoDB Management Service in 2013, a cloud-based system for managing MongoDB deployments that evolved into MongoDB Atlas, a fully-managed cloud-based database service, in 2014.