Which of the following would rank as the least significant concern when creating a schema with MongoDB? Choose the best answer:
题目选项
- A.Identifying which operations are analytical queries
- B.Determining if the writes need to be durable (w: majority)
- C.Estimating the number of shards the system needs
- D.Estimating how many times each query is executed
- E.Identifying which queries are operational versus analytics
答案置信度:高
正确答案:C
解析语言:中文
估算分片数量属于部署/容量规划层面的事,与“如何为应用设计 schema”关系最小,是最不重要的考虑。而写是否需要 durable(w:majority)、哪些查询是分析型哪些是事务型、每个查询执行多少次,都会直接决定文档结构、字段是否拆分、嵌入还是引用,是设计 schema 前必须先想清楚的。