Skip to content

Module 5: Storage & Indexing

Storage & Indexing

Understanding how MongoDB stores data on disk and how to efficiently retrieve it is crucial for building high-performance applications. This module covers the internals of the WiredTiger storage engine and the advanced indexing strategies required for production workloads.

Learning Objectives

  • Understand the architecture of the WiredTiger storage engine.
  • Configure and monitor the WiredTiger Cache.
  • Implement advanced indexing strategies using the ESR (Equality, Sort, Range) rule.
  • Use Explain Plans and the Database Profiler to identify and optimize slow queries.

Module Sections

  1. WiredTiger Internals: Explore document-level concurrency, compression, and checkpointing.
  2. B-Tree Indexes & ESR Rule: Master compound indexes, specialized index types, and query optimization.