10gen's MongoDB 2.4 Ships, Adds Enterprise Features

10gen announced the release of the latest version of its NoSQL database, MongoDB 2.4, enhancing the platform's management, performance and developer productivity features.

10gen, the MongoDB company, has announced the general availability of MongoDB 2.4, the latest release of the agile and scalable NoSQL document database.

New capabilities in MongoDB 2.4 include hash-based sharding, capped arrays, text search, geospatial enhancements and a number of other key features.

In addition, 10gen introduced MongoDB Enterprise as part of a new MongoDB Enterprise subscription level. MongoDB Enterprise contains new monitoring and security features such as Kerberos authentication and role-based privileges.

With the new hash-based sharding capability, MongoDB provides horizontal scaling by sharding data across multiple physical servers. This new option simplifies the creation of large-scale MongoDB systems. It is built on top of MongoDB's range-based sharding.

In a blog post on the new release, Eliot Horowitz, chief technology officer and co-founder of 10gen, said, "Using a hashed shard key allows users to get a good distribution of load and data in a simple manner, in cases where documents are accessed randomly through the key space, or if the access patterns may not be totally predictable."

Meanwhile, applications frequently provide real-time visibility into top ranking attributes, such as leaderboards and most viewed, emailed or purchased items. Capped arrays simplify development by allowing developers to easily maintain a sorted array of fixed length within documents.

"Capped arrays declare a fixed size array inside of a document," Horowitz said. "You can also specify a sort, which will first sort the array, and then apply the trim."

The new text search capability is still in beta. Search is the primary interface for navigating data in many applications. MongoDB's native, real-time text search simplifies development and deployment for MongoDB users with stemming and tokenization in 15 languages, 10gen said.

In a blog post from January, the MongoDB team said, "MongoDB text search is still in its infancy and we encourage you to try it out on your data sets. Many applications use both MongoDB and Solr/Lucene, but realize that there is still a feature gap. For some applications, the basic text search that we are introducing may be sufficient. As you get to know text search, you can determine when MongoDB has crossed the threshold for what you need."

MongoDB is an open-source, document database popular among developers and IT professionals because of its agile and scalable approach. MongoDB provides a JavaScript Object Notation (JSON) data model with dynamic schemas, extensive driver support, auto-sharding, built-in replication and high availability, full and flexible index support, rich queries, aggregation, in-place updates and GridFS for large file storage.

"MongoDB 2.4 delivers a rich array of features that users have been asking for, and the number of features and pace of innovation is a testament to our increased engineering team," Horowitz said in a statement. "MongoDB Enterprise is suited to the growing number of large organizations that are adopting MongoDB and responds to their needs related to monitoring and security.

Regarding new geospatial enhancements, mobile and social applications and government programs rely on location and sophisticated geospatial analysis; thus, the new MongoDB 2.4 release introduces GeoJSON support, a more accurate spherical model and polygon intersections. GeoJSON is a format for encoding a variety of geographic data structures.