Google News
logo
MongoDB - Quiz(MCQ)
________ removes an association between a range shard keys and a shard tag.
A)
sh._checkMongos()
B)
sh.removeTagRange()
C)
sh.disableBalancing()
D)
None of the above

Correct Answer :   sh.removeTagRange()


Explanation : Use sh.removeShardTag() to ensure that unused or out of date ranges are removed and hence chunks are balanced as required.

Advertisement