What’s new in MongoDB?
MongoDB 8.0 is the highest-performing version of MongoDB yet, with a focus on the following four areas:
- Performance optimization
- Encryption improvements
- Cost reduction and scaling improvements
- Increased resilience
Performance
MongoDB improves querying and transforming data, with up to 36% better throughput, 56% faster bulk writes, 200% faster complex aggregations of time-series data, and 20% faster concurrent writes during data replication. Overall, MongoDB 8.0 performs around 32% faster than the previous version of MongoDB. This means that you can perform operations faster with lower resource usage and costs.
Encryption
With a combination of authentication and authorization protections and encryption at rest, in transit, and in use, MongoDB protects data throughout its life cycle. Queryable Encryption, which offers robust encryption for in-use data, allows more flexibility in how you interact with your data, while ensuring that it is encrypted the whole time.
Cost and scaling
With sharding and replication improvements in MongoDB, horizontally scaling your application, or increasing the number of resources it uses, is faster and easier at a lower cost. MongoDB 8.0 distributes data across shards up to 50 times faster and at 50% lower cost than the previous version.
Resilience
To promote resilience of your application even under high-stress workloads, MongoDB includes improvements such as default maximum times for queries, upgrades to TCMalloc, and improvements to query settings.