Parallelizing mongoexport to dump large amounts of data from multiple collections

Thank you so much, I’ll give this a try !
The tasks divided by a total count of documents is a good idea, although at the moment I am using countDocuments instead of count and apparently it brings lots of performance issues when querying big collections with billions of entries :confused:
But I’m pretty sure that this won’t exactly solve running 30+ exports at the same time.

I’ll definitely try this out and compare performance with the current setup though.