Percona Server for MongoDB 5.0.2-1 (Release Candidate)¶
- Date
August 16, 2021
- Installation
Note
With a lot of new features and modifications introduced, we recommend using this release candidate in testing environments only.
Warning
Percona Server for MongoDB 5.0.2-1 is not recommended for production use due to the following critical issues: WT-7984 and WT-7995. These issues are fixed in MongoDB 5.0.3 Community Edition and 5.0.3-2.
We recommend you to upgrade to Percona Server for MongoDB 5.0.3-2 and run the validate command on every collection on every replica set node.
Read more about the post-upgrade steps in WT-7984 and WT-7995.
We are pleased to announce the release candidate of Percona Server for MongoDB 5.0.2-1. It is available for download from Percona website and for installation from Percona Software Repositories.
Percona Server for MongoDB 5.0.2-1 is an enhanced, source-available, and highly-scalable database that is a fully-compatible, drop-in replacement for MongoDB 5.0.2 Community Edition. It includes all features of MongoDB 5.0.2 Community Edition. The most notable among these are the following:
Resharding allows you to select a new shard key for a collection and then works in the background to correct any data distribution problems caused by bad shard keys and improve performance.
Time Series Collections are aimed at storing sequences of measurements over a period of time. These specialized collections will store data in a highly optimized way that will improve query efficiency, allow data analysis in real-time, and optimize disk usage.
Resumable Index Builds means that the index build for a collection continues if a primary node in a replica set is switched to another server or when a server restarts. The build process is saved to disk and resumes from the saved position. This allows DBAs to perform maintenance and not worry about losing the index build in the process.
Window operators allow operations on a specified span of documents known as window. $setWindowFields is a new pipeline stage to operate with these documents.
Versioned API allows specifying which API version your application communicating with MongoDB runs against. Versioned API detaches the application’s lifecycle from that of the database. As a result, you modify the application only to introduce new features instead of having to maintain compatibility with the new version of MongoDB.
In addition, new aggregation operators such as $count
, $dateAdd
, $dateDiff
, $dateSubtract
, $sampleRate
and $rand
are available with this release.
Percona Server for MongoDB 5.0.2-1 extends this feature set by providing enterprise-level enhancements for free.
Percona Server for MongoDB 5.0.2-1 fully supports MongoDB 5.0.2 Community Edition protocols and drivers and requires no changes to MongoDB applications or code.