Skip to content Skip to content
Vladimir Chavkov

MongoDB Performance & Scalability Training

Optimize your MongoDB deployments with this focused 2-day training on performance tuning and scalability patterns. Learn advanced indexing strategies, query optimization, profiling tools, WiredTiger internals, and capacity planning for high-throughput workloads.

Duration2 days (16 hours)
LevelAdvanced
DeliveryIn-person, Live online, Hybrid
CertificationN/A
  • Senior developers optimizing MongoDB query performance
  • DBAs responsible for cluster capacity and throughput
  • Architects designing scalable MongoDB architectures
  • Performance engineers profiling database workloads

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

  • Design optimal index strategies for complex query patterns
  • Analyze query plans using explain() and the profiler
  • Tune WiredTiger cache and storage engine parameters
  • Implement connection pooling and driver optimization
  • Plan capacity based on workload characteristics
  • Design sharding strategies for horizontal scalability

Module 1: Index Deep Dive

  • B-tree internals and index structure
  • Compound index field order optimization
  • Covered queries and index-only scans
  • Partial, sparse, and TTL indexes
  • Hands-on: Optimize a workload from 100ms to 1ms queries

Module 2: Query Plan Analysis

  • explain() output — queryPlanner, executionStats, allPlansExecution
  • Index selection and plan cache
  • Slow query log and profiler configuration
  • Query shapes and plan cache management
  • Hands-on: Profile a production-like workload

Module 3: Write Performance

  • Write concern impact on throughput
  • Bulk write operations and ordered vs unordered
  • Schema design for write-heavy workloads
  • WiredTiger journal and checkpoint tuning
  • Hands-on: Optimize a write-intensive application

Module 4: WiredTiger Internals

  • Cache management and eviction
  • Compression — snappy, zlib, zstd tradeoffs
  • Checkpoint and journal configuration
  • Concurrency control — document-level locking
  • Hands-on: Tune WiredTiger for specific workload patterns

Module 5: Connection and Driver Tuning

  • Connection pool sizing and management
  • Read/write concern impact on latency
  • Server selection and topology monitoring
  • Retryable reads and writes
  • Hands-on: Optimize driver configuration for throughput

Module 6: Capacity Planning and Scaling

  • Workload characterization and benchmarking
  • Hardware selection — CPU, RAM, disk IOPS
  • Vertical vs horizontal scaling decisions
  • Shard key selection for balanced distribution
  • Hands-on: Capacity plan for a growing application
  • Access to hands-on lab environments with realistic datasets
  • Course slides and reference materials
  • Performance tuning checklists and runbooks
  • Post-training email support (30 days)

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