Advanced MongoDB: Indexes, Aggregation & Schema

Go beyond the basics in MongoDB: design schemas around your queries, choose between embedding and referencing, speed up reads with indexes you can verify with explain, and summarise data with aggregation pipelines. For developers who know the fundamentals.

Instructor: iCourse Team. Duration: 1 hr. Category: Databases.

Lessons

  1. Model your data for your queries (5 min)
  2. Embed or reference? (5 min)
  3. Indexes and explain (6 min)
  4. Compound indexes and the ESR rule (6 min)
  5. Index trade-offs (5 min)
  6. Aggregation pipelines (7 min)
  7. $unwind, $lookup and reshaping (7 min)
  8. Making pipelines fast (6 min)
  9. Schema validation (7 min)
  10. Capstone: shop analytics (6 min)

What you will learn

Before you start

All courses