I am trying to do some aggregate queries on 5M+ document sharded
And am hitting the 16MB limit very frequently.
First issue is hitting limits between mongod and mongos instances, and cant
do $skip/$limit pipelines without $sort.
What possible solutions are there around this?
Second issue is when doing aggregate queries via Java Drivers, the entire
document is passed back.
This is killing my memory utilization, is there any way to get a cursor
We tried to design bigger documents, but needed to use $unwind and came
back to same issue.