MongoDB DBA · Question 420 · Multiple choice

To ensure that write operations are not lost in the event of a server failure, WiredTiger: Check all that apply:

Answer options

  1. A.
    records all data manipulation operations in an operations log, oplog
  2. B.
    buffers write operations in memory and flushes them frequently to create data checkpoints
  3. C.
    uses a write-ahead logging system to an on-disk journal file

Answer confidence: Medium

Correct answer: B, C

Explanation language: Chinese

WiredTiger 先把修改写入预写日志(journal)落盘,崩溃后靠日志重放恢复,这是保证写入不丢的核心机制(A);同时它把写缓存在内存中,并周期性(默认 60 秒)做 checkpoint 把数据固化到数据文件、缩短恢复时间(C)。B 说的是复制用的 oplog,属于复制机制而非存储引擎的持久化手段(oplog 自身也要依赖 journal 持久化)。

Papers containing this question

This question appears in 2 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 ↗