Checking Whether the Source Database Collections Contain More Than 10 Indexes
MongoDB Migration
Check Item |
Whether the source database collections contain more than 10 indexes |
---|---|
Description |
If the number of indexes in the source database exceeds 10, the migration duration is affected. |
Failure Cause and Handling Suggestion |
Alarm cause: 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 the index does not need to be migrated, delete the index before starting the migration. Run the following command to delete the 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.