The key feature that is new in MongoDB 2.2 is the "aggregation framework". This framework enables real-time queries on data, simplifies reporting and provides the foundation for real-time analytics. 10Gen claims MongoDB 2.2 can accelerate performance of analytics and reporting up to 80 percent compared to using MapReduce and offers new operators, new expressions and a pipeline-processing framework.
MongoDB 2.2 now offers tag-aware sharding and replication to enable location-aware data storage policies for improved performance in wide-area multi-data center configurations as well as facilitation of other use cases such as use of heterogeneous hardware tailored to different document types. The first change is a standardization of read preferences across all drivers and sharded (i.e. mongos) interfaces. The second is the addition of “tag aware sharding,” which makes it possible to ensure that data in a geographically distributed sharded cluster is always closest to the application that will use that data the most.
One another crucial feature within the new release is improved locking mechanism, where it now removes global lock on mongod process instead the locking can now be per database. Users will see improved performance for workloads and deployments that require frequent disk I/O operations. Other operational and functional enhancements include time-to-live (TTL) collections, query optimizer improvements, Windows service support, better performance with Windows Server, better usage of heterogeneous hardware and reduced space fragmentation.
“MongoDB 2.2 has been a huge effort to make the database even easier to use and operate,” says Eliot Horowitz, 10gen co-founder and CTO. “We think that moving to NoSQL should make you a more productive software engineer, and features like the aggregation framework deliver on that promise.”
You may register for 10gen’s free online conference on September 20th, 2012 For a live introduction to MongoDB 2.2 that will feature co-founders Dwight Merriman and Eliot Horowitz, and directors of solutions architecture Edouard Servan-Schreiber and Kevin Matulef.