MongoDB DBA · 题目 535 · 多选

55. Which of the following is/are true when refining an existing shard key? Check all that apply:

题目选项

  1. A.
    immediately triggers a distribution of chunks across shards or zones to match the new shard key ranges.
  2. B.
    can add a suffix field or fields to an existing key.
  3. C.
    allows for more granular data distribution where the existing key has insufficient cardinality.
  4. D.
    requires the documents have the field or all of the fields being used to refine the shard key.

答案置信度:高

正确答案:B、C、D

解析语言:中文

细化分片键(refineCollectionShardKey)只能给已有分片键追加后缀字段,并要求文档都含有这些字段,目的是提升基数、让数据分布更细,故 A、B、D 对。C 错:细化不会立即触发 chunk 重分布,还需要后续 balancer(或手工)按新键范围搬移数据。

所在套题

此题在题库中有 1 条记录。公开详情合并相同题干和选项;完整公开题展示置信度最高的一条记录,其他题目仅展示摘要。按套学习保留每条记录原有的答案、解析和置信度。

作者 · 作品 · 开源

作者与 MongoDB 作品

专注数据平台、MongoDB 迁移同步与云运维产品研发。

有任何 MongoDB 需求,均可联系作者。

联系作者 ↗mlhp123@outlook.com

支持作者

如果题库对您有帮助,欢迎自愿扫码打赏。

支付宝扫码打赏作者打开打赏原图 ↗