12. Compared with a single-field index, a compound index: Check all that apply:
题目选项
- A.can be more selective, examining fewer documents in order to fulfill search criteria.
- B.allows for covered queries more often than a single-field index.
- C.can be used just like a single-field index on the first field of the index.
答案置信度:高
正确答案:A、B、C
解析语言:中文
复合索引字段更多,通常选择性更强、能用索引边界筛掉更多文档(A);索引中包含的字段越多,越容易满足"查询过滤与投影字段全在索引里"的覆盖查询(B);按最左前缀原则,它也能当首字段的单字段索引来用(C)。所以三项都成立。