MongoDB DBA · 题目 169 · 多选

54. In a sharded collection, which of the following is true of the primary shard? Check all that apply:

题目选项

  1. A.
    Is responsible for handling shard merge operations on all find queries
  2. B.
    Holds all chunks metadata of the sharded collections.
  3. C.
    Is responsible for routing query requests for the remaining shards
  4. D.
    Each sharding enabled database has its own primary shard
  5. E.
    Holds all non-sharded collections within a sharding enabled database

答案置信度:高

正确答案:D、E

解析语言:中文

一是每个启用分片的数据库各自拥有一个 primary shard(D);二是该库中未分片的集合都放在 primary shard 上(E)。元数据保存在 config server(B 错),查询路由由 mongos 完成(C 错),A 描述的跨分片结果合并同样是 mongos 的职责。

所在套题

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

作者 · 作品 · 开源

作者与 MongoDB 作品

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

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

联系作者 ↗mlhp123@outlook.com

支持作者

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

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