The Little MongoDB Schema Design Book

This is the HTML version of the first revision MongoDB Schema Design Book. This book was written as a way for me to teach people the basic patterns of doing MongoDB Schema design and to help them on the road to mastering Schema Design for document databases. It contains the following chapters.

  • Introduction
  • Schema Basics
  • MMAP Storage Engine
  • WiredTiger Storage Engine
  • Indexes
  • Schema Design
  • Sharding
  • Queue
  • Topics
  • Metadata
  • Materialized Path Category Hierarchy
  • Shopping Cart with Product Reservation
  • Shopping Cart with No Product Reservation
  • Theater Reservation
  • Account Transactions
  • Time Series
  • Array Slice Cache
  • Internationalization