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)
Parent topic: Database Parameters
- Item to Be Confirmed
- Handling Suggestion