MongoDB Community Edition 8.0 has been available since October. At Percona, we took the time to examine this release carefully, check performance, and guarantee it works perfectly, stand-alone, and with other tools like Percona Backup for MongoDB and Percona Monitoring and Management. Today, we are excited to announce the General Availability of Percona Server for MongoDB 8.0.4-1.
This release brings the latest MongoDB 8.0 features with the added reliability, performance improvements, and open source mindset that Percona is known for. It’s the most performant and secure among all MongoDB releases so far! In this blog post, we share the most essential changes in MongoDB 8.0 and what you should know about them.
Percona provides a drop-in replacement solution for MongoDB Community Edition based on the same upstream code delivered by MongoDB, Inc. The difference between Percona Server for MongoDB and MongoDB CE is that we provide a gap-closing source-available set of features for users who want to use MongoDB in production. These enterprise features include, but are not limited to:
MongoDB 8.0 introduced several important features and enhancements that improve performance, scalability, security, and developer productivity. Let’s now examine the most significant changes and new functionalities in MongoDB 8.0.
In version 8.0, MongoDB has enhanced its sharding capabilities, making distributing data across multiple shards more efficient.
Until now, w:majority meant that all data and index changes were applied on most servers before returning the acknowledgment to the client. In MongoDB 8, only the write to the oplog collection is guaranteed to be applied on most servers before returning acknowledgment to the client. This results in faster writing overall but has a significant side effect. If you read from a secondary immediately after receiving an acknowledgment from a { w: “majority” } write operation, the query may now return results that don’t include changes from that write. You can still use causally-consistent sessions to prevent this.
MongoDB 8 uses a new version of tcmalloc with per-CPU caches, which reduces memory fragmentation. The tcmallocEnableBackgroundThread is also enabled by default. This allows MongoDB to release memory back to the operating system periodically. This has the interesting consequence that Transparent Huge Pages (THP) are now recommended with MongoDB 8. Earlier versions of MongoDB did not allow this.
With the release of Percona Server for MongoDB 8.0, we’d like to reaffirm our continued support for LDAP integration, which has been available since our 4.2 release. Unlike MongoDB Enterprise Server, which recently announced that version 8.0 will be the last to support LDAP, Percona remains committed to offering LDAP as a reliable authentication option for organizations that rely on it. We understand that many businesses still depend on LDAP for centralized authentication and user management, and we aim to provide them with the flexibility and support they need to integrate with existing infrastructure while seamlessly planning for the future.
On May 19, 2020, we introduced the premiere release of Percona Distribution for MongoDB, which contains the Server and Backup products in one package. For almost five years, we have analyzed the adoption of that package and its value to you. After careful consideration, we have decided not to release Percona Distribution for MongoDB 8.0. Instead, we will focus on enhancing the support of other operating systems and CPU architectures. We are still committed to releasing the distribution updates for previous major releases – PDMDB 6.x and PDMDB 7.x for at least the next 6 months. We welcome feedback on this decision. Please share your thoughts on the Percona Community Forum, and we will carefully consider all input.

All changes in the release can be found on the release notes pages for Percona Server for MongoDB 8.0.4-1.
We’re still observing a number of running deployments with Percona Server for MongoDB 5.0.x. We want to remind you that Percona Server for MongoDB follows the upstream EOL dates. This means bug fixes and software builds will no longer be generated for our MongoDB release, effective October 31, 2024. Also, with the Percona Server for MongoDB 5.0 that reached its end of life, the implications are as follows:
That means that testing with 5.0 has ceased, and while PBM may still successfully perform backups and restores, we cannot guarantee it anymore. That being said, rest assured you will not be left alone. Those who want to sign up for a Percona Support Subscription will continue to receive operational support and services.
If you’re running MongoDB 5.0, upgrade now! Your next step is MongoDB 6.0, then 7.0, and finally, the best-performing ever – 8.0. Read our guidelines on how to upgrade, and if you’re stuck, contact us.
To leverage the benefits introduced in version 8.0 and make sure the upgrade is frictionless, ensure you are:
For production environments, we recommend upgrading Percona Server for MongoDB using the official Percona repositories via the percona-release repository management tool and your system’s package manager. For further instructions, check the detailed upgrade procedure.
As we continue to enhance Percona Server for MongoDB, the upcoming features in the 8.0 release will focus on addressing enterprise needs, security, and ease of use.
One essential addition will be file copy-based initial synchronization for non-sharded clusters, allowing faster and more efficient data replication during setup. We’re also introducing OpenID Connect (OIDC) integration for modern, secure authentication, OCSF Schema for Log Messages to ease your audit log compliance work, and support for Amazon Linux 2023, ensuring compatibility with the latest cloud environments. These features will be delivered to Percona Server for MongoDB 8.0 within upcoming patch releases.
Additionally, dedicated Full-Text Search nodes and Vector Search from the Community Edition should arrive soon. And that’s just the beginning—stay tuned for more innovations designed to optimize performance and flexibility for your MongoDB deployments.
The official MongoDB release notes and documentation provide more detailed information and a complete list of changes. To get help with upgrading your MongoDB to the next version, feel free to contact Percona Experts.