MongoDB DBA · 题目 344 · 多选

63. Which of the following are reasons to use normalized data in documents instead of embedding data in documents? Check all that apply:

题目选项

  1. A.
    allows for easier modeling of large hierarchical data sets.
  2. B.
    stores data in separate collections when embedding it in a document decreases read performance particularly when the majority of data may be not frequently used.
  3. C.
    allows for complex many-to-many relationships to more easily modelled.
  4. D.
    allows for data to be updated in a single atomic write.
  5. E.
    allows for modeling one-to-many relationships with a high arity with large documents on the many side of the relationship.

答案置信度:中

正确答案:B、C、E

解析语言:中文

引用(规范化)的典型理由有三个:把体积大又不常访问的数据拆到独立集合,避免每次读主文档都一起拉回来(B);更好地建模多对多关系(C);以及多端文档很大或数量无上限(高基数)的一对多关系(E)。A 与 D 恰恰是内嵌的理由——层级数据内嵌更好建模,单文档内嵌可一次原子写完成更新。

所在套题

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

作者 · 作品 · 开源

作者与 MongoDB 作品

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

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

联系作者 ↗mlhp123@outlook.com

支持作者

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

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