Latest in branch 2.6
2.6.12
Released 21 Mar 2016
(10 years ago)
SoftwareMongoDB Server
Version2.6
Status
End of life
Initial release2.6.0
07 Apr 2014
(12 years ago)
Latest release2.6.12
21 Mar 2016
(10 years ago)
End of life31 Oct 2016
(Ended 9 years, 7 months ago)
Release noteshttps://www.mongodb.com/docs/manual/release-notes/2.6/
Documentationhttps://www.mongodb.com/docs/v2.6/
Downloadhttps://www.mongodb.com/try/download/community
MongoDB Server 2.6 ReleasesView full list

What Is New in MongoDB 2.6

MongoDB 2.6 delivers a major step up in operational control, security, and query capabilities. It's a foundational release that introduces integrated automation and a more robust platform for large-scale deployments.

Category Key Changes
Security Role-Based Access Control, Collection-Level Access, SSL for Replica Sets/Sharding
Query System Bulk Write Operations, Index Improvements, $text Search Enhancements
Aggregation Aggregation Pipeline Output to Collection, New Aggregation Stages & Operators
Operations Background Indexing on Secondaries, Initial Sync Improvements, explain Enhancements
Deprecations Deprecated Group Command, Old MMAPv1 Default Index Options

How did security get stronger in 2.6?

The security model was completely overhauled. The biggest change is the introduction of Role-Based Access Control (RBAC), moving far beyond the simple read/write user model of earlier versions.

You can now define custom roles with precise privileges that can be scoped down to specific collections or sets of actions. SSL support was also extended to encrypt all internal communication within replica sets and sharded clusters, closing a major gap for secure deployments.

What aggregation pipeline upgrades should I know about?

You can now write the results of an aggregation pipeline directly to a new collection using the $out operator. This is a game-changer for creating persistent reporting collections or ETL workflows without writing application-side code to handle the output.

The pipeline itself got more powerful with new stages like $redact for conditional document filtering and operators like $ceil, $floor, and $mod for enhanced number crunching.

Why are the new bulk write operations a big deal?

They finally provide a way to perform efficient, ordered or unordered batches of insert, update, and remove operations through a single API call. Before this, you had to simulate bulk writes with individual requests, which was much slower due to network round-trips.

In practice, this means your mass data import or update jobs will run significantly faster and put less load on the driver and server. The ordered operations stop on the first error, while unordered operations continue through any errors.

What operational headaches did 2.6 solve?

Building indexes on secondaries no longer requires taking them out of rotation. You can now build indexes in the background on secondary members of a replica set, which maintains high availability during the operation.

The initial sync process for adding new replica set members was also optimized to be faster and more reliable. Furthermore, the explain command was enhanced to provide more detailed insight into query performance and index usage.

FAQ

Does the new RBAC system break my existing applications?
It can if you upgrade without preparation. The old auth schema is incompatible. You must upgrade your authentication data to the new 2.6 format using the authSchemaUpgrade command, and then update your user roles to fit the new model.

Can I use text search without a separate Solr or Elasticsearch setup now?
Yes, the integrated $text search operator became production-ready in 2.6. It supports text search with language-specific stemming, negation, and phrase matching, making it viable for many basic search use cases directly within MongoDB.

What's the main reason to use the new bulk API?
Performance. Sending a single request with 1000 operations is drastically faster than sending 1000 individual requests. It reduces network overhead and allows the server to process the batch more efficiently.

Is it safe to build indexes on secondaries in the background?
Yes, this is a major operational improvement. It allows you to maintain read availability from your secondaries while building new indexes, which was not possible before. The indexing process uses yielding to avoid blocking replication.

What happened to the group command?
It was deprecated in favor of the aggregation framework. The group command is less powerful and has significant memory limitations. The aggregation pipeline offers a much more flexible and performant way to achieve the same results and more.

Releases In Branch 2.6

VersionRelease date
2.6.1221 Mar 2016
(10 years ago)
2.6.12-rc010 Mar 2016
(10 years ago)
2.6.1110 Aug 2015
(10 years ago)
2.6.11-rc030 Jul 2015
(10 years ago)
2.6.1018 May 2015
(11 years ago)
2.6.10-rc009 May 2015
(11 years ago)
2.6.923 Mar 2015
(11 years ago)
2.6.9-rc016 Mar 2015
(11 years ago)
2.6.824 Feb 2015
(11 years ago)
2.6.8-rc017 Feb 2015
(11 years ago)
2.6.713 Jan 2015
(11 years ago)
2.6.7-rc007 Jan 2015
(11 years ago)
2.6.608 Dec 2014
(11 years ago)
2.6.6-rc001 Dec 2014
(11 years ago)
2.6.507 Oct 2014
(11 years ago)
2.6.5-rc430 Sep 2014
(11 years ago)
2.6.5-rc329 Sep 2014
(11 years ago)
2.6.5-rc225 Sep 2014
(11 years ago)
2.6.5-rc022 Sep 2014
(11 years ago)
2.6.5-rc122 Sep 2014
(11 years ago)
2.6.408 Aug 2014
(11 years ago)
2.6.4-rc101 Aug 2014
(11 years ago)
2.6.319 Jun 2014
(11 years ago)
2.6.215 Jun 2014
(11 years ago)
2.6.2-rc107 Jun 2014
(12 years ago)
2.6.2-rc002 Jun 2014
(12 years ago)
2.6.105 May 2014
(12 years ago)
2.6.1-rc130 Apr 2014
(12 years ago)
2.6.1-rc021 Apr 2014
(12 years ago)
2.6.007 Apr 2014
(12 years ago)
2.6.0-rc302 Apr 2014
(12 years ago)
2.6.0-rc221 Mar 2014
(12 years ago)
2.6.0-rc105 Mar 2014
(12 years ago)
2.6.0-rc021 Feb 2014
(12 years ago)