From the R&D lab: now offering free MongoDB 2.1 databases for your experiments

(Update 2012-07-19: Experimental plans upgraded to 2.2.0 RC1) (also posted to the 10gen blog here.)

MongoLab is excited to offer free hosted databases running on MongoDB 2.1! We have been testing this new version internally and are loving the new features it offers, especially the aggregation framework and time-to-live (TTL) collections. We think you'll love it too. So pull up a chair, fire up a 2.1 database with MongoLab, and experiment a little! It's a great opportunity to learn about the new features and help solidify what will become the stable 2.2 release.

I'm sold! How do I get started?

MongoLab's automated provisioning tools make it easy to get going, but first a brief, but important disclosure:

Remember that these experimental databases are not supported for production use. The 2.1 code line is for development and testing purposes only, and as such MongoLab's support team may not be able to resolve every issue. For production use, you will have to wait for 2.2 to become available and pass the MongoLab certification process before you can run your production apps against our production database plans.  No official date for 2.2 exists, but historically, a production release would follow this development release within a few months.

To provision a 2.1 database for your development and testing needs:

  1. If you don't already have one, create a MongoLab account at They're free!
  2. On your account home page click either "Create new" or "Clone existing" depending on whether your want to seed data from an existing MongoDB database or not.
  3. Be sure to choose the free plan and Amazon's US East region and you will be offered a checkbox just below the list of plans allowing you to choose the experimental 2.1/2.2 option.
  4. Tick the experimental checkbox, read and accept the disclosure that pops up, and the database you create will be running on MongoDB 2.1!

Pro tip: You can clone a 2.0 database into a 2.1 mongod process, so if you already have some data in 2.0 that you'd like to play with in 2.1 try the cloning feature!

I'd like to know more. What's new in 2.1?

2.1 is the development branch of MongoDB that will eventually be released as 2.2 when stable enough. (A word on MongoDB versions.) You can review the 2.2 release notes for a thorough list of features and fixes, but we're particularly excited about the aggregation framework, TTL collections, and database-level locking.

Aggregation framework

The aggregation framework is a powerful new tool for MongoDB that allows you to transform the shape of your query results by specifying of pipeline of operations to be performed on them. Many folks are excited about the ability to group results to perform simple analytics. Also exciting is the advanced operator unwind that allows you to cross a nested array with its enclosing document.

TTL collections

MongoDB can be very useful as a persistent cache. Many folks are using it in a role that otherwise might have been filled by memcache, but data expiry has been challenging. With 2.1.2's new TTL collections, you can now have MongoDB enforce a time-based expiration policy by creating an index on a date field and configure it with a time to live (TTL) value. Once the date in that field gets older than the TTL, it will be deleted.

Database-level locking

Prior to 2.1 the reader-writer lock was global to the entire mongod process. So if any database in the process was being written to no other read or write operations could be performed.

With 2.1, the scope of locking has (essentially) been brought down to the database level. It will be made even finer-grained in future releases, which will be even more exciting, but this first step is a big one, especially for our Shared customers and Dedicated customers who want to separate multiple "hot" collections from each other into separate databases.

Great! How do I provide feedback?

As always, we want to hear about any issues you might be having or feedback you might want to provide on how we could do things better. This is particularly true as both MongoDB 2.1 and MongoLab's support for it stabilize.

So test away and let us know what you think! Here are a few ways you can get in touch with us:

Got anything else I can read?

While 2.1 is still new, there are already several great presentations and blog posts out there covering some of the version's interesting features.

(updated 2012-06-25: included 10gen blog post link. Updated 2012-06-26: updated relevant details for 2.1.2 release.  Update 2012-07-19 to mention experimental plan upgraded to 2.2.0 RC1)

11 Responses to From the R&D lab: now offering free MongoDB 2.1 databases for your experiments

  1. Sunitha 2014/07/30 at 12:36 am #

    Nice article, Train on latest Big
    data technologies at 3 days Big Data Bootcamp – Seattle (Aug
    8-10, 2014) use offer code VLINKEDIN and Save Up to $50 , Register at

  2. is motor club america scam 2017/04/01 at 9:41 am #

    330031 725067Right after study some with the websites along with your internet web site now, i actually as if your way of blogging. I bookmarked it to my bookmark web site list and will likely be checking back soon. Pls appear at my web site likewise and figure out what you believe. 763061

  3. Best Best Online News in the World 2017/04/06 at 11:06 am #

    522009 747909Thankyou for all your efforts which you have put in this. really intriguing information . 102720

  4. 682317 935454I conceive this web site contains some rattling superb details for every person : D. 986322

  5. Best Best Online News in the World 2017/04/07 at 11:47 pm #

    840274 885544You got a quite amazing internet site, Glad I observed it by way of yahoo. 217995

  6. Best Best Online News in the World 2017/04/08 at 7:08 am #

    377902 12154But yet another intelligent weblog! Completely cannot wait for a whole lot a lot more! 993277

  7. Best Best Online News in the World 2017/04/08 at 11:18 am #

    255035 204519Hi my friend! I want to say that this post is wonderful, good written and contain approximately all significant infos. Id like to see a lot more posts like this . 820441

  8. GVK Biosciences 2017/04/09 at 2:02 am #

    918771 257535woah i like yur internet site. It genuinely helped me with the data i wus seeking for. thank you, will save. 305387

  9. VideoJelly 2017/04/11 at 8:11 pm #

    508769 539653Jane wanted to know though your girl could certain, the cost I just informed her she had to hang about until the young woman seemed to be to old enough. But the truth is, in which does not get your girlfriend to counteract making use of picking out her really own incorrect body art terribly your lady are typically like me. Citty style 92971

  10. Switch Energy Supplier 2017/04/20 at 2:53 pm #

    461560 515989Paper rolls extremely fantastic read you know alot about this subject i see! 943900


  1. Tutorial: MongoDB 2.1 and 2.2 Aggregation Framework on MongoLab | MongoLab - MongoDB Hosting - 2012/07/10

    […] database with your own unique name, say <myaggdemo>.  Instructions on how to do that are here. You’ll need your mongod username and […]

Leave a Reply