Skip to content

MongoDB 2.4 Compatibility

Leif Walsh edited this page Oct 18, 2013 · 9 revisions

This page is a (todo) list of features/improvements in MongoDB 2.4, with their statuses w.r.t. inclusion in TokuMX. The basis for this list is MongoDB 2.4 Overview.

Developer Productivity

  • Aggregation Framework refinements....
    • significant performance improvements
    • additional support for binary data
    • support for $geoWithin and $near geospatial queries
      • not needed until we add geospatial indexes
    • improved string concatenation with the new $concat operator
    • and improved date calculation semantics.
  • Geospatial enhancements
    • support new use cases with support for polygon intersection queries (with $geoIntersects),
    • support for GeoJSON, and an improved spherical model.
  • Text search
  • New =$setOnInsert= update operator supports specifying fields to add only on insert and upsert operations.

Ease of Operations

  • Hashed indexes and shard keys provide simple, even distribution for reads and writes.
  • New serverStatus metrics including a working set analysis tool makes capacity planning easier for operations teams.
    • these changes don’t work with the tokumx storage system, we have alternative analysis tools (see db.engineStatus())
  • More control for operators with the ability to terminate indexing operations with automatic resource cleanup.
    • all DDL operations, including index builds, are transactional and are therefore cleaned up automatically when terminated

Improved Performance

  • V8 JavaScript engine offers better performance and concurrency with JavaScript based actions including those using the $where query operator as well as mapReduce and eval.
  • Improvements to count provide dramatically faster count operations. Counting is now up to 20 times faster for low cardinality index based counts.
  • Significant optimizations to =$elemMatch= when using a multi-key index.

More Robust Security

  • Role-Based privileges allow organizations to assign more granular security policies for server, database and cluster administration.
  • Kerberos authentication mechanism in MongoDB Enterprise.
Clone this wiki locally