Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Hitting the limitations of MongoDB (in a single machine environment), I wonder which part of MapReduce and aggregation with group/$group is causing the troubles.

Usually I use a mix of MR/Aggregation for counting documents with unique identifiers inside. Such an identifier could be based on a single field or also a combination of several fields etc.

Before counting the uniques, some $match/filtering is done first for the pipeline.

Anyways, mongodb sometimes worries about the maximum document size and sometimes when exceeding 16M with $group.

How to estimate the amount of size because I really wonder if something is done wrong in my aggregation or if 16M is really a worse limitation and makes mongodb's aggregation framework useless for my "tiny" database with 50GB of data on the single machine => poor :-(

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.