3 ms·
MongoDB: where you need Map/Reduce to do any aggregation at all.
by cstigler 13y ago
MongoDB: where you need Map/Reduce to do any aggregation at all.
- tzury 13y agoYou may consider using Mongo's aggregation framework[1] instead which is zillion times faster[2]. [1] http://docs.mongodb.org/manual/aggregation/ http://docs.mongodb.org/manual/aggregation/ [2] http://stackoverflow.com/questions/13908438/is-mongodb-aggregation-framework-faster-than-map-reduce http://stackoverflow.com/questions/13908438/is-mongodb-aggre...