Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you elaborate for people who don't understand the feature? Is the aggregation result large because of grouping?


Well, aggregation in MongoDB allows you to write sql like queries, and before 2.6 if aggregated result was > 16mb it was throwing an error, but now it gives you a cursor. Now you can fetch the results and send to another collection. For an example aggregation query in mongo have a look here: http://docs.mongodb.org/manual/tutorial/aggregation-zip-code...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: