MCQs > Database Management > NoSQL > You need to change the shard key of an existing MongoDB collection. What do you do?

NoSQL MCQs

You need to change the shard key of an existing MongoDB collection. What do you do?

Answer

Correct Answer: Dump the collection data, drop the collection, presplit the data, create a new collection and shard key, import the data.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

NoSQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

NoSQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it