1.

MongoDB provides the _________ command to combine contiguous chunk ranges into a single chunk.(a) helpchunks(b) moveChunks(c) mergeChunks(d) all of the mentionedThe question was asked during an internship interview.Question is from Sharded Cluster Maintenance in section Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

The CORRECT answer is (c) mergeChunks

The explanation is: For a sharded collection, mergeChunks COMBINES contiguous chunk RANGES on a shard into a single chunk. Issue the mergeChunks command from a mongos instance.



Discussion

No Comment Found

Related InterviewSolutions