MongoDB DBA · Question 244 · Multiple choice

22. Which of the following factors have significant effects on query performance? Check all that apply:

Answer options

  1. A.
    Journaling
  2. B.
    Available indexes
  3. C.
    Size of the working set

Answer confidence: High

Correct answer: B, C

Explanation language: Chinese

决定查询性能的关键是能否用索引避免全集合扫描,以及工作集(索引 + 最近使用的文档)是否常驻内存,两者直接决定查询要产生多少磁盘 I/O。Journaling 只影响写入的持久化方式和写延迟,对查询性能没有显著影响,是本题最主要的干扰项。

Papers containing this question

This question appears in 3 bank records. Public pages combine identical prompts and options. Selected questions display the highest-confidence record; the others show a short preview. Paper-based learning preserves each record's answer, explanation, and confidence.

AUTHOR · PROJECTS · OPEN SOURCE

Author & MongoDB projects

Building data platforms, MongoDB migration and sync tools, and cloud operations products.

Contact the author for any MongoDB needs.

Contact the author ↗mlhp123@outlook.com

Support the author

If this question bank helps you, optional donations are welcome.

Scan with Alipay to support the authorOpen full-size donation image ↗