Query Optimization

Learn how to fine-tune MongoDB queries for maximum efficiency, minimize execution time, and avoid slow queries.

Upon completion of the Query Optimization skill and skill check, you will earn a Credly badge that you are able to share with your network.


  Learning Objectives

Optimize Query Performance

Analyze and fine-tune queries using indexing, query restructuring, and execution plans to improve efficiency and reduce resource consumption.

Identify and Resolve Slow Queries

Use MongoDB’s profiling tools, such as the Query Profiler, Performance Advisor, and explain(), to detect and optimize slow-performing queries.





Enhance Read and Write Operations

Apply bulkWrite operations for efficient writes and query settings to fine-tune read-heavy workloads, ensuring scalability and responsiveness.

Sequoyha Pelletier | Senior Technologist

Sequoyha Pelletier | Senior Technologist

Sequoyha Pelletier is a Senior Technologist at MongoDB, bringing over 15 years of experience in technical curriculum development and delivery. Before joining MongoDB, he worked in the Worldwide Support team for DataStax, eventually leading the curriculum team for new hire onboarding.

Sequoyha is extremely passionate about providing quality education for free to those in need and enjoys pushing the boundaries of what is considered "normal" practices with delivering educational content.

Daniel Curran | Senior Software Engineer

Daniel Curran | Senior Software Engineer

Daniel is a Senior Software Engineer at MongoDB. Before joining MongoDB, he worked as an Instructional Designer and Content Developer specialising in technical content for a host of international clients. Daniel's goal is to remove obstacles so learners can feel confident on their journey to become masters of MongoDB.

Colleen Day | Staff Curriculum Designer

Colleen Day | Staff Curriculum Designer

Colleen is a Staff Curriculum Designer at MongoDB. She holds a Masters degree in English literature from NYU, and is passionate about using writing as a vehicle to teach. She has worked as a writing instructor and ghostwriter, and has spent her career focused on educational content development. For several years, Colleen was the lead editor for The Princeton Review’s “Cracking the SAT” and other test prep books. Prior to MongoDB, she was Senior Managing Editor for boot camp courses on data science and fintech, partnering with subject matter experts to design and deliver courses for learners of all levels.

Emily Pope | Senior Curriculum Designer

Emily Pope | Senior Curriculum Designer

Emily Pope is a Senior Curriculum Designer at MongoDB. She loves learning and loves making it easy for others to learn how and when to use deeply technical products. Recently, she's been creating AI and vector search content for MongoDB University. Before that, she's created learning experiences on databases, computer science, full stack development, and even clinical trial design and analysis. Emily holds an Ed.M. in International Education Policy from Harvard Graduate School of Education and began her career as an English teacher in Turkiye with the Fulbright program.

Manuel Fontan Garcia | Senior Technologist, Education

Manuel Fontan Garcia | Senior Technologist, Education

Manuel is a Senior Technologist on the Curriculum team at MongoDB. Previously he was a Senior Technical Services Engineer in the Core team at MongoDB. In between Manuel worked as a database reliability engineer at Slack for a little over 2 years and then for Cognite until he re-joined MongoDB. With over 15 years experience in software development and distributed systems, he is naturally curious and holds a Telecommunications Engineering MSc from Vigo University (Spain) and a Free and Open Source Software MSc from Rey Juan Carlos University (Spain).

Davenson Lombard | Senior Software Engineer

Davenson Lombard | Senior Software Engineer

Davenson Lombard is a Senior Software Engineer at MongoDB on the Education Team. Prior to that, Davenson was a Technical Services Engineer at MongoDB and a Customer Success architect at Confluent. Davenson holds a Bachelor in Electrical Engineering from Concordia University in Montreal.

John McCambridge | Curriculum Engineer

John McCambridge | Curriculum Engineer

John is a Curriculum Engineer on the University team at MongoDB. Before his work as a Curriculum Engineer, he was an instructor and teaching assistant for coding boot camps at UT (Austin), and UCLA. Additionally, he worked as a QA engineer for a startup called Coder and spent five years at Apple Inc. John is a passionate software engineer and educator who enjoys taking complex topics and making them digestible for the community.

Emilio Scalise | Senior Technologist

Emilio Scalise | Senior Technologist

Emilio is a multi-skilled IT specialist with a vast knowledge in system administration, databases, software development, network security, and cloud solutions. He is currently a Staff Technologist at MongoDB, producing internal and external learning materials. With over 8 years at MongoDB Support Organization, including five as a Staff Technical Support Engineer, he's developed considerable expertise in MongoDB's products and cloud services. In addition, Emilio is a certified MySQL DBA and experienced in technical translations between English and Italian.