Hi everyone, we are currently working with a collection of 4 million documents which we must process in our backend (netcore C #).
We are using cursors for batch processing. We believe we have made the correct configuration of the BatchSize but at the time of execution, the size of documents that we have in the cursor is very small compared to the BatchSize.
We would like to know if the way we are doing it’s wrong or if we need to adjust something in the configuration. BTW, we are using mongo atlas.
We build a method called “GetInstallationsAsync” which returns the cursor that we will use.
In the screenshots that we show below you can see that the BatchSize is 50000 but the current cursor size count is 1609.
Thanks for you help.