performance - Why does MongoDB have a 100MB limit per aggregation pipeline stage? -


why mongodb have 100mb limit per aggregation pipeline stage?

you can set allowdiskuse extend limit.

my question is, why number 100mb?

i guess won't exact answer unless mongodb core developers.

the idea have threshold limit before using disk. 100mb max in-memory threshold mongodb has put not aggregation pipeline operations compact operation well.

100mb arbitrary number , knowledge 100mb limit because if consider each document of size 100kb , each pipeline returns 1000 documents reaches 100mb limit.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -