SHARE
Facebook X Pinterest WhatsApp

MongoDB 2.6 Improves Open-Source Database Performance

Written By
thumbnail
Sean Kerner
Sean Kerner
Apr 8, 2014

The open-source MongoDB project is out today with its 2.6 release, providing users with new features and enhanced performance.

For existing MongoDB users, Kelly Stirman, director of product marketing at MongoDB, told Database Journal that in the general case, the upgrade from MongoDB 2.4 to 2.6 is a binary-compatible drop-in upgrade. Users simply need to shut down the mongod instances and replace them with mongod instances running 2.6. MongoDB also provides complete upgrade notes to help users update to the new version.

Among the new features in MongoDB 2.6 is one called Index Intersection. Stirman said index intersection enables the query planner to use more than one index to resolve a query.

“With index intersection, developers can address more queries with simple indexes and with less upfront index design,” Stirman said.

Stirman said that as an example, in a sales reporting application, a product manager might want to identify all customers who have ordered more than a given quantity of a specific part number. Using index intersection, the existing indexes for part number and quantity can be combined (intersected) to optimize the query, rather than requiring a separate compound index. This also results in reduced overhead to the working set size, and more efficient updates.

Text search is getting a boost in MongoDB 2.6. Stirman noted that MongoDB has always provided rich index functionality, including B-tree indexes on any field.

“MongoDB 2.4 introduced text search in beta, and in MongoDB 2.6 we have added functionality such as multi-language documents and integration with the Aggregation Pipeline,” Stirman said. “We now consider text search production-ready.”

According to the MongoDB 2.6 release notes, the aggregation pipeline “adds the ability to return result sets of any size either by returning a cursor, or optionally writing the output to a collection.”

On the commercial front, the MongoDB Management System (MMS) is getting new features as well for backup and recovery. Stirman noted that MMS is available as a cloud service, and on-premises as part of a subscription. 

Sean Michael Kerner is a senior editor at Database Journal and InternetNews.com. Follow him on Twitter @TechJournalist

Recommended for you...

Best Certifications for Database Administrators
Ronnie Payne
Oct 14, 2022
Become More Efficient at Writing TSQL by Creating Code Snippets
Gregory Larsen
Jun 30, 2021
Line Numbers in SQL Server Management Studio
Gregory Larsen
Sep 4, 2018
Couchbase Raises $60 Million to Fuel NoSQL Database Efforts
Sean Kerner
Jun 30, 2014
Database Journal Logo

DatabaseJournal.com publishes relevant, up-to-date and pragmatic articles on the use of database hardware and management tools and serves as a forum for professional knowledge about proprietary, open source and cloud-based databases--foundational technology for all IT systems. We publish insightful articles about new products, best practices and trends; readers help each other out on various database questions and problems. Database management systems (DBMS) and database security processes are also key areas of focus at DatabaseJournal.com.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.