52. Which of the following are true for MongoDB's concept of a chunk in a sharded cluster? Check all that apply:
题目选项
- A.A chunk is stored in multiple distinct shards for redundancy
- B.Sharding partitions data, each partition is called a chunk and represents a logical set of documents
- C.A chunk denotes a range of values with the total range of values covered by a shard key
答案置信度:高
正确答案:B、C
解析语言:中文
chunk 是分片键取值空间上一段连续的区间,所有 chunk 合起来覆盖整个分片键取值范围(A 正确);分片把数据分区,每个分区叫一个 chunk,是一组逻辑文档(C 正确)。B 错:一个 chunk 只存放在一个分片上,数据冗余是靠分片内部的副本集实现的,不存在"同一 chunk 存多个分片"。