MongoDB Upgrade Boasts Advanced Aggregation Framework, Other Features

MongoDB can do many things, but it can’t make little squares of light pop to life above your keyboard.

MongoDB version 2.2 has reached general availability, according to 10gen.

A document-oriented NoSQL database system, MongoDB remains popular among IT pros with a need to store and analyze massive amounts of data. Jaspersoft’s most recent Big Data Index placed MongoDB at the top of its list of most popular data sources, followed by Hadoop-Hive (an SQL interface to Hadoop MapReduce), Cassandra, and Hadoop-HBase.

MongoDB relies on “BSON,” a binary form of JSON, for data storage. It also features a huge number of language drivers. (Shameless plug: our sister site SourceForge relies on it.)

In all, the latest release apparently contains some 1,000 new features and tweaks. Some of the more prominent features include an advanced Aggregation Framework, meant to streamline the process of manipulating and processing documents within MongoDB without the need for separate application processes or MapReduce.

MongoDB has also been upgraded to handle larger, more geographically distributed contexts. “The first change is a standardization of read preferences across all drivers and sharded (i.e. mongos) interfaces,” read a note on The MongoDB NoSQL Database blog. “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.”

The next notable feature is improvements to concurrency, with an elimination of the global lock in the mongod process. “Locking is now per database,” the blog added. “In addition a new subsystem avoids locks under most page-fault events; thus concurrency improves even on systems with a single database.”

MongoDB 2.2 “has been a huge effort to make the database even easier to use and operate,” Eliot Horowitz, 10gen co-founder and CTO, wrote in an Aug. 29 statement. “We think that moving to NoSQL should make you a more productive software engineer, and features like the aggregation framework deliver on that promise.”


Image: nokhoog_buchachon