Checking Whether the Source Database Collections Contain More Than 10 Indexes
During MongoDB migration, the number of indexes affects the migration duration. DRS checks whether the source database contains collections with more than 10 indexes. If yes, the migration speed will be affected. Check whether all indexes need to be migrated.
Item to Be Confirmed
The source database has collections containing more than 10 indexes, which are migrated slowly.
Handling Suggestion
The number of indexes affects the migration duration. Check whether all indexes need to be migrated. If an index does not need to be migrated, delete the index before starting the migration.
Run the following command to delete an index:
run the db.Collection name.dropIndex(Index name)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot