Advanced Interview #databases #storage-engines #postgresql #interview-prep

Database Internals Engineer Interview Questions

5 exercises — choose the best-structured answer to common Database Internals Engineer interview questions. Focus on storage engine trade-offs, MVCC, WAL recovery, buffer management, and query optimisation.

Structure for database internals interview answers
  • Name the trade-off dimensions: read/write/space amplification, latency vs. throughput
  • Explain failure recovery: what guarantees hold after a crash and how they are achieved
  • Give concrete parameters: WAF numbers, buffer sizes, XID limits, tuning knobs
  • Cover the failure modes: bloat, wraparound, thrashing, over-indexing
0 / 5 completed
1 / 5
The interviewer asks: "Compare LSM-trees and B-trees for a write-heavy workload — explain write amplification, read amplification, and space amplification for each."
Which answer best covers the trade-off analysis?