I have a mongo collection collection1
with ~ 1000 million records. Now I want to use value of certain fields from the documents of this collection, apply some transformation and insert a new document into another collection collection2
.
What is the recommended way to do this (considering the scale) while having some kind of observability to the process? If it helps, this is on mongo atlas.