Hi @Jithin M V ,
Thanks for using Microsoft Q&A !!
Your performance to migrate data will depend on few factors and can be modified using the below configurations -
- Number of workers and cores in the spark cluster
- maxBatchSize
- MongoDB Spark practitioner and partition key
So, in order to increase the data transfer rate you need to adjust number of workers to execute tasks and maxBatchSize will help you control the rate at which data will be saved to Azure Cosmos DB. Also, you need to disable indexes during data transfer to improve your data transfer rate more.
Please refer to the Optimize the migration performance for details.
Please let me know if you have any additional questions.
Thanks
Saurabh