この記事はMongoDB Advent Calendar 2013の二日目です。
中身は私のブログ記事になってます。 http://d.hatena.ne.jp/naruoga/20131202/1385983516