MongoDB Performance Training
This 3-day training provides deep performance optimization expertise covering query optimization, advanced indexing strategies, explain plans, the query profiler, connection pooling, write concern tuning, aggregation optimization, and Atlas Performance Advisor.
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.
Training Details
| Duration | 2 days (16 hours) |
| Level | Advanced |
| Delivery | In-person, Live online, Hybrid |
| Certification | N/A |
Who Is This For?
- Senior developers optimizing MongoDB query performance
- DBAs responsible for cluster capacity and throughput
- Architects designing scalable MongoDB architectures
- Performance engineers profiling database workloads
Learning Outcomes
After completing this training, participants will 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
Detailed Agenda
Day 1: Query Optimization and Indexing
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
Day 2: Storage Engine and Scalability
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
What's Included
- 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)
Request This Training
Ready to bring MongoDB performance training to your team? [Contact me](/contact) to discuss dates, group size, and customization options.
Ready to get started?
Request a training quote for your team — in-person, live-online, or hybrid.