Skip to content Skip to content
Vladimir Chavkov

MongoDB Data Modeling & Aggregation Training

Deepen your MongoDB expertise with this 2-day advanced course on data modeling patterns and aggregation techniques. Learn production-grade schema design, complex aggregation pipelines, multi-document transactions, change streams, and Atlas Search integration.

Duration2 days (16 hours)
LevelIntermediate
DeliveryIn-person, Live online, Hybrid
CertificationN/A
  • Developers designing complex MongoDB schemas
  • Data engineers building aggregation pipelines
  • Architects making data modeling decisions
  • Anyone seeking advanced MongoDB development skills

After completing this training, you’ll be able to:

  • Apply advanced schema design patterns (bucket, polymorphic, computed, outlier)
  • Build complex aggregation pipelines with window functions
  • Use multi-document transactions for data consistency
  • Implement change streams for real-time event processing
  • Integrate Atlas Search for full-text search capabilities
  • Optimize data models for read and write performance

Module 1: Schema Design Patterns

  • Attribute pattern for polymorphic fields
  • Bucket pattern for time-series data
  • Computed pattern for pre-aggregated data
  • Outlier pattern for hot documents
  • Hands-on: Refactor schemas using advanced patterns

Module 2: Relationships and References

  • Extended reference pattern
  • Subset pattern for large documents
  • Tree structures — materialized paths, nested sets
  • Schema versioning and migration strategies
  • Hands-on: Model a hierarchical product catalog

Module 3: Transactions and Consistency

  • Multi-document ACID transactions
  • Read and write concerns
  • Causal consistency sessions
  • Transaction best practices and limitations
  • Hands-on: Implement a transactional order workflow

Module 4: Complex Aggregation Pipelines

  • $facet for multi-faceted search results
  • $graphLookup for recursive lookups
  • $merge and $out for materialized views
  • Accumulator expressions and custom operators
  • Hands-on: Build a multi-faceted product search

Module 5: Window Functions and Analytics

  • $setWindowFields for running calculations
  • Rank, dense_rank, and row number
  • Moving averages and cumulative sums
  • Time-series analysis with window functions
  • Hands-on: Build financial analytics dashboards

Module 6: Change Streams and Real-Time

  • Change stream architecture and resume tokens
  • Filtering and transforming change events
  • Building real-time notifications
  • Atlas Search — indexes, analyzers, and scoring
  • Hands-on: Build a real-time activity feed with change streams
  • Access to hands-on lab environments
  • Course slides and reference materials
  • Schema design templates and aggregation examples
  • Post-training email support (30 days)

Ready to bring advanced MongoDB training to your team? Contact me to discuss dates, group size, and customization options.