Which of the following would be the best order of steps to model a schema for MongoDB? Choose the best answer:
题目选项
- A.Identify the workload, model the relationship, apply schema design patterns
- B.Create the entity relationship diagram, apply schema design patterns
- C.Create the entity relationship diagram, model the relationships
- D.Identify the workload, create the entity relationship diagram
- E.Apply schema design patterns, benchmark the prototype
答案置信度:高
正确答案:A
解析语言:中文
MongoDB 官方建模流程是先摸清工作负载(读写模式、查询、基数、数据增长),再决定关系用内嵌还是引用,最后才套用设计模式(子集、桶、计算等模式),即 Identify the workload → model the relationship → apply schema design patterns,A 正确。B/C/E 漏掉了最关键的第一步(工作负载),D 把模式设计提前并丢掉了关系建模这一步。