13. What would be good reasons for creating an index on a secondary node of a replica set? Check all that apply:
题目选项
- A.improve efficiency of queries on the whole replica set
- B.running reporting queries
- C.running analytics queries
答案置信度:高
正确答案:B、C
解析语言:中文
在从节点上建索引,目的就是让该节点承担报表类和分析类查询,把这类重读负载以及它专属的索引需求从主节点上剥离出来。A 不成立:只在一台从节点上建索引只会影响被路由到该节点的查询,不会“提升整个副本集”的查询效率。