MDB200: MongoDB Optimization and Performance

Gain a solid foundation in indexing concepts and practical techniques, learn how to profile database operations to uncover performance issues, and explore how to analyze logs and metrics effectively. The course also introduces Atlas Search and Atlas Vector Search, enabling advanced text search and AI-powered semantic search use cases.

Training: MongoDB Optimization and Performance (MDB200)

Overview

On completion of this training day you will know how to index data and analyse index performance, identify slow operations using various methods, and leverage MongoDB Atlas solutions for advanced text search and Vector Search (AI) applications.

Agenda

Indexes and Optimization

  • What are indexes?
  • MongoDB Index misconceptions
  • How indexes are chosen
    • Query planner / Query optimizer
    • Hints and tips
  • Reading explain plans *
  • Single field indexes
  • Multikey indexes
  • Compound index design *
  • Covered queries
  • Indexes and performance
    • Limits
    • Best practices
    • Compression
  • TTL indexes

Database Profiling

  • Accessing the MongoDB logs
  • Finding slow operations using the log
  • Enabling the profiler
  • Causes of slow operations
  • MongoDB Atlas Metrics

Intro to Atlas Search and Vector Search

  • Atlas Search
  • Atlas Vector Search

End of day test

* includes hands-on exercise

Duration

1 day


Program Datasheets


Meetings

Course prerequisites

This course has the following prerequisites:

  • MDB100: MongoDB Database and Security

Language

This course is offered in multiple languages. Coordinate with your MongoDB representative to find out more.

Course access

This course is entirely virtual and will be conducted over Zoom video conferencing and Instruqt hands-on lab environments.


View All Upcoming Public Training Sessions

You can browse all upcoming MongoDB Public Training Sessions sessions via the Instructor-Led Training Schedule.

How to Enroll in a Live Public Training Session

  • From the course page, select the preferred session from the dropdown menu on the right-hand toolbar.

  • Once the preferred session is selected, click the “Register” button.

    • Note: The session title includes the language, time zone and date of the training.

How to Switch to a Different Session

If you’ve already enrolled but want to attend another session of the same course:

  • Go to your Learner Dashboard.

  • Locate the course under “In Progress” or “Events”.

  • Click the three dots to the right of the session title.

  • Select “Re-Enroll” and choose your new preferred session from the dropdown list.

How to Deregister from a Session

Currently, learners cannot self-unregister from a live session.

  • To cancel your enrollment, email training@mongodb.com and we will manually remove you.

Important Information

See the Learner Guide for more information.

By registering for a live training session, you confirm your intention to attend. If you miss a session without notifying us, you may be penalized and risk losing access to your training subscription.


This course is available through Private Training for customers with 7 or more Training Subscriptions.

Private Training allows you to select specific courses and deliver them to your team in a private classroom, scheduled at your convenience.

Please contact your Professional Services representative to discuss available dates for private training.

Important: Private sessions can only be arranged if 7 or more engineers commit to attending.