VOOZH about

URL: https://www.coursera.org/learn/introduction-to-mongodb

⇱ Introduction to MongoDB | Coursera


Introduction to MongoDB

Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Introduction to MongoDB

23,281 already enrolled

Included with

Gain insight into a topic and learn the fundamentals.
4.6

110 reviews

Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week

Gain insight into a topic and learn the fundamentals.
4.6

110 reviews

Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week

What you'll learn

  • Create, connect to and manage MongoDB databases

  • Perform fundamental CRUD operations in MongoDB

  • Create data models, aggregation pipelines, indexes and transactions

  • Add a search feature to your application using MongoDB Atlas Search

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

11 assignments

Taught in English
Flexible schedule
Learn at your own pace

There are 11 modules in this course

"Introduction to MongoDB" guides you through the foundational skills and knowledge you need to get started with MongoDB. Get an introduction to MongoDB Atlas, the developer data platform, and how to create and deploy an Atlas cluster. Discover how MongoDB structures data in documents similar to JSON objects, making it flexible and developer friendly. Learn how to connect to a MongoDB database and perform simple CRUD operations and other key tasks, such as aggregation, indexing, data modeling, transactions, and creating a search experience for the users of your app. By the end of this course, you’ll have the skills you need to start working with MongoDB.

In this module, you’ll learn about Atlas, MongoDB’s multi-cloud developer data platform. First, you will become familiar with the tools and services that are available to you when you set up an Atlas account. You’ll also learn about how MongoDB Atlas stores and hosts data with Atlas clusters, a global, multi-cloud database service. Finally, you’ll set up a free Atlas account, launch your own free-tier Atlas cluster, and load sample data into your cluster so that you can get started with using MongoDB Atlas and the developer data platform.

What's included

3 videos1 reading1 assignment

3 videosTotal 13 minutes
  • Introduction to the MongoDB Atlas, the Developer Data Platform5 minutes
  • Creating and Deploying an Atlas Cluster7 minutes
  • Getting Started with MongoDB Atlas, the Developer Data Platform Review1 minute
1 readingTotal 4 minutes
  • Resources4 minutes
1 assignmentTotal 25 minutes
  • Module 1 Assessment25 minutes

In this module you’ll learn how MongoDB stores data and how MongoDB fits into Atlas, the developer data platform. You'll also review common use cases for MongoDB. Next, you'll learn the value types that MongoDB supports, how MongoDB creates unique identifiers, and what it means that MongoDB has a “flexible schema.” Finally, you’ll begin to manage databases, collections, and documents in the MongoDB Atlas Data Explorer. This module will give you a solid foundation in the concepts and skills that you'll need to work with MongoDB.

What's included

4 videos3 readings1 assignment

4 videosTotal 16 minutes
  • Introduction to MongoDB4 minutes
  • The MongoDB Document Model4 minutes
  • Managing Databases, Collections, and Documents in Atlas Data Explorer6 minutes
  • Overview of MongoDB and the Document Model Review2 minutes
3 readingsTotal 30 minutes
  • Code Recap: The MongoDB Document Model5 minutes
  • Activity: Managing Databases, Collections, and Documents in Atlas Data Explorer20 minutes
  • Resources5 minutes
1 assignmentTotal 30 minutes
  • Module 2 Assessment30 minutes

This module will show you how to connect to MongoDB databases - you'll use MongoDB connection strings, connect to MongoDB with the mongo shell, connect to MongoDB Compass, and learn how to troubleshoot common connection issues.

What's included

6 videos3 readings1 assignment

6 videosTotal 20 minutes
  • Using MongoDB Connection Strings4 minutes
  • Connecting to a MongoDB Atlas Cluster with the Shell4 minutes
  • Connecting to a MongoDB Atlas Cluster with Compass5 minutes
  • Connecting to a MongoDB Atlas Cluster from an Application2 minutes
  • Troubleshooting MongoDB Atlas Connection Errors4 minutes
  • Connecting to your Database Review2 minutes
3 readingsTotal 35 minutes
  • Activity: Locating the MongoDB Connection String15 minutes
  • Activity: Install MongoDB Compass15 minutes
  • Resources5 minutes
1 assignmentTotal 30 minutes
  • Module 3 Assessment30 minutes

In this module, you will be introduced to CRUD operations in MongoDB by inserting and finding documents. Inserting and finding documents will help you discover the ease and usability of MongoDB. You'll also build your own queries that use comparison and logical operators. Using operators will make your queries more precise and, in turn, make your application easier to develop. Finally, you'll learn how to query elements in an array. Arrays are a crucial data type that you will encounter frequently, so it's important that you have a solid understanding of how to work with them.

What's included

6 videos6 readings1 assignment

6 videosTotal 17 minutes
  • Inserting Documents in a MongoDB Collection3 minutes
  • Finding Documents in a MongoDB Collection3 minutes
  • Finding Documents by Using Comparison Operators3 minutes
  • Querying on Array Elements in MongoDB3 minutes
  • Finding Documents by Using Logical Operators4 minutes
  • MongoDB CRUD Operations: Insert and Find Documents Review1 minute
6 readingsTotal 60 minutes
  • Code Recap: Inserting Documents in a MongoDB Collection10 minutes
  • Code Recap: Finding Documents in a MongoDB Collection10 minutes
  • Code Recap: Finding Documents by Using Comparison Operators10 minutes
  • Code Recap: Querying on Array Elements in MongoDB10 minutes
  • Code Recap: Finding Documents by Using Logical Operators15 minutes
  • Resources5 minutes
1 assignmentTotal 30 minutes
  • Module 4 Assessment30 minutes

In this module, you’ll learn how to update, replace, and delete documents in MongoDB. These commands will help you manipulate data in your database and will prepare you to build MongoDB into your own apps. We will replace entire documents, update individual fields in a document, insert new documents, and remove documents from a database. By the end of this module, you'll be able to execute most of the common database operations.

What's included

6 videos6 readings1 assignment

6 videosTotal 18 minutes
  • Replacing a Document in MongoDB3 minutes
  • Updating MongoDB Documents by Using updateOne()6 minutes
  • Updating MongoDB Documents by Using findAndModify()3 minutes
  • Updating MongoDB Documents by Using updateMany()3 minutes
  • Deleting Documents in MongoDB3 minutes
  • MongoDB CRUD Operations: Replace and Delete Documents Review1 minute
6 readingsTotal 50 minutes
  • Code Recap: Replacing a Document in MongoDB10 minutes
  • Code Recap: Updating MongoDB Documents by Using updateOne()15 minutes
  • Code Recap: Updating MongoDB Documents by Using findAndModify()5 minutes
  • Code Recap: Updating MongoDB Documents by Using updateMany()5 minutes
  • Code Recap: Deleting Documents in MongoDB5 minutes
  • Resources10 minutes
1 assignmentTotal 30 minutes
  • Module 5 Assessment30 minutes

In this module, you’ll learn how to modify query results in MongoDB by using sorts, limits, projections, and counts. First, you will learn how to organize query results by sorting and limiting the documents that are returned. Then you'll explore how to use projection to return selected fields from a query. Finally, you’ll learn how to count the number of documents that match a query. Using these query modifications will help enhance the functionality and performance of your applications.

What's included

4 videos4 readings1 assignment

4 videosTotal 20 minutes
  • Sorting and Limiting Query Results in MongoDB7 minutes
  • Returning Specific Data from a Query in MongoDB7 minutes
  • Counting Documents in a MongoDB Collection3 minutes
  • MongoDB CRUD Operations: Modifying Query Results Review2 minutes
4 readingsTotal 50 minutes
  • Code Recap: Sorting and Limiting Query Results in MongoDB20 minutes
  • Code Recap: Returning Specific Data from a Query in MongoDB15 minutes
  • Code Recap: Counting Documents in a MongoDB Collection10 minutes
  • Resources5 minutes
1 assignmentTotal 30 minutes
  • Module 6 Assessment30 minutes

In this module, you will learn about the aggregation pipeline, which is one of MongoDB's most powerful features. You will learn how to use the aggregation pipeline to filter, sort, and organize the data in your collections.

What's included

6 videos5 readings1 assignment

6 videosTotal 17 minutes
  • Introduction to MongoDB Aggregation3 minutes
  • Using $match and $group Stages in a MongoDB Aggregation Pipeline3 minutes
  • Using $sort and $limit Stages in a MongoDB Aggregation Pipeline3 minutes
  • Using $project, $count, and $set Stages in a MongoDB Aggregation Pipeline4 minutes
  • Using $out Stage in a MongoDB Aggregation Pipeline3 minutes
  • MongoDB Aggregation Review1 minute
5 readingsTotal 40 minutes
  • Code Recap: Introduction to MongoDB Aggregation5 minutes
  • Code Recap: Using $match and $group Stages in a MongoDB Aggregation Pipeline10 minutes
  • Code Recap: Using $sort and $limit Stages in a MongoDB Aggregation Pipeline10 minutes
  • Code Recap: Using $project, $count, and $set Stages in a MongoDB Aggregation Pipeline10 minutes
  • Resources5 minutes
1 assignmentTotal 30 minutes
  • Module 7 Assessment30 minutes

In this module, you will learn about indexes, how indexes support the efficient execution of queries in MongoDB, the trade-offs associated with using indexes, how to create Single Field and Compound Index, what Multikey indexes are, and how to see if queries are using indexes. Finally, you will learn how to delete an index.

What's included

6 videos5 readings1 assignment

6 videosTotal 25 minutes
  • Using MongoDB Indexes in Collections4 minutes
  • Creating a Single Field Index in MongoDB5 minutes
  • Creating a Multikey Index in MongoDB3 minutes
  • Working with Compound Indexes in MongoDB6 minutes
  • Deleting MongoDB Indexes4 minutes
  • MongoDB Indexes Review2 minutes
5 readingsTotal 65 minutes
  • Code Recap: Creating a Single Field Index in MongoDB15 minutes
  • Code Recap: Creating a Multikey Index in MongoDB10 minutes
  • Code Recap: Working with Compound Indexes in MongoDB20 minutes
  • Code Recap: Deleting MongoDB Indexes15 minutes
  • Resources5 minutes
1 assignmentTotal 45 minutes
  • Module 8 Assessment45 minutes

Atlas Search allows you to quickly and easily add a search feature to your application. Search can be tricky to tackle, especially if you have a lot of data that you need to sort and filter quickly. MongoDB Atlas has a built-in tool that allows you to add search functionality to your application, and customize the users’ results with weighted values, analyzers, and groupings. This module will show you how to use Atlas Search to customize your searches.

What's included

6 videos3 readings1 assignment

6 videosTotal 20 minutes
  • Using Relevance-Based Search and Search Indexes3 minutes
  • Creating a Search Index with Dynamic Field Mapping3 minutes
  • Creating a Search Index with Static Field Mapping3 minutes
  • Using $search and Compound Operators5 minutes
  • Group Search Results by Using Facets4 minutes
  • MongoDB Atlas Search Review1 minute
3 readingsTotal 15 minutes
  • Code Recap: Using $search and Compound Operators5 minutes
  • Code Recap: Group Search Results by Using Facets5 minutes
  • Resources5 minutes
1 assignmentTotal 30 minutes
  • Module 9 Assessment30 minutes

In this module, you will learn the basics of data modeling. Specifically, you'll learn about the purpose of data modeling, the different types of relationships that your data can have and how to model them, and the differences between embedding and referencing. Then, you will learn how to scale your data model and use Atlas Tools for schema help.

What's included

8 videos2 readings1 assignment

8 videosTotal 20 minutes
  • Introduction to Data Modeling3 minutes
  • Types of Data Relationships3 minutes
  • Modeling Data Relationships2 minutes
  • Embedding Data in Documents3 minutes
  • Referencing Data in Documents1 minute
  • Scaling a Data Model3 minutes
  • Using Atlas Tools for Schema Help3 minutes
  • Introduction to MongoDB Data Modeling Review1 minute
2 readingsTotal 7 minutes
  • Embedding vs. Referencing2 minutes
  • Resources: Introduction to MongoDB Data Modeling5 minutes
1 assignmentTotal 45 minutes
  • Module 10 Assessment45 minutes

In this module, you'll learn about ACID transactions in MongoDB. ACID transactions guarantee that certain database operations, such as the transfer of value from one account to another, succeed together or do not happen not at all. This ensures the integrity of the data in a database. We'll begin with an introduction to ACID transactions. Then, we'll explore how ACID transactions work with the document model in MongoDB. Finally, we'll cover how to create and cancel multi-document transactions in MongoDB.

What's included

4 videos2 readings1 assignment

4 videosTotal 15 minutes
  • Introduction to ACID Transactions4 minutes
  • ACID Transactions in MongoDB3 minutes
  • Using Transactions in MongoDB8 minutes
  • Transactions Review1 minute
2 readingsTotal 15 minutes
  • Code Recap: Multi-Document Transactions10 minutes
  • Resources: Transactions5 minutes
1 assignmentTotal 30 minutes
  • Module 11 Assessment30 minutes

Instructors

Instructor ratings
4.8 (26 ratings)
MongoDB Inc.
1 Course23,281 learners
MongoDB Inc.
1 Course23,281 learners

Explore more from Data Management

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    71.81%

  • 4 stars

    23.63%

  • 3 stars

    2.72%

  • 2 stars

    0%

  • 1 star

    1.81%

Showing 3 of 110

HM
·

Reviewed on Aug 19, 2025

Thanks u, From Deeply Heart. This Course was Helpful and pretty, and I learned Great Things About MongoDB, It was perfect for a beginner

TK
·

Reviewed on Jun 30, 2024

I can confidently say that I've learned the basics of MongoDB. Great course.

ML
·

Reviewed on Jan 31, 2024

Very informative. Some of the examples cannot be followed because the data is not available.

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,