I need to process 100s of Gigas of DB on the Server Side and the way I'm doing it right now is by loading a JS file with the shell.
i.e: mongo ipaddress:27017/database_name script.js
This works fine but problem is I can see that the data is being processed on the MongoDB shell in the CLIENT side, and all the data is passed through the network.
Is there any way to process the data ONLY on the server side, without transferring all the data ?
Thanks a lot.