MongoDB DBA · 题目 52 · 单选

52. In order to route requests to the correct shards, mongos must know where each of the chunks reside in the sharded cluster. mongos gets this chunk metadata from: Choose the best answer:

题目选项

  1. A.
    the config servers
  2. B.
    the mongod.log file
  3. C.
    the journal
  4. D.
    the shards
  5. E.
    another mongos process

答案置信度:高

正确答案:A

解析语言:中文

每个 chunk 的范围及其所在分片记录在 config server 的 config 数据库中,mongos 启动与运行期间从 config server 读取并缓存这些元数据来完成路由。日志、journal 不参与路由,分片自身也不知道其它分片的数据分布,另一个 mongos 也只是同样从 config server 获取信息。

所在套题

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

作者 · 作品 · 开源

作者与 MongoDB 作品

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

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

联系作者 ↗mlhp123@outlook.com

支持作者

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

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