1.

_________ disable balancing on a single collection in a sharded database.(a) sh.removeTagRange()(b) sh._checkMongos()(c) sh.disableBalancing()(d) none of the mentionedThis question was posed to me during an interview.My enquiry is from Sharded Cluster Data Management topic in section Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer» RIGHT ANSWER is (c) sh.disableBalancing()

To explain: sh.disableBalancing() does not AFFECT balancing of other collections in a sharded CLUSTER.


Discussion

No Comment Found

Related InterviewSolutions