
Let me now explain you what is document database
Compare hosting MongoDB in the cloud with self-hosted setups by exploring MongoDB Atlas and M-lab, highlighting free sandbox options, replica sets, and production ready clusters.
Explore the MongoDB shell, its syntax, and the structure of MongoDB commands. We'll review what's been covered so far and outline the software setup needed for upcoming modules.
Explore how MongoDB server and shell versions are determined by installation packages, and verify them with mongod --version, db.version(), db.serverBuildInfo(), mongo --version, and version(), noting shell and server version mismatches.
Learn how to get help in the MongoDB shell with db.help(), show commands, and context hints. Practice tab-completion in Robo 3T and the native shell, and try db.stats().
Learn how BSON stores strings, objects, arrays, and booleans without extra type information, while numbers, ObjectIds, and dates require explicit type prefixes in MongoDB shell.
ObjectId is a 12-byte, auto-generated MongoDB identifier that makes each document unique. It combines a timestamp, machine id, process id, and a counter when you run ObjectId() in the shell.
Explore how the date BSON type uses ISO format and ISODate in extended JSON, and how new Date() and ISODate() yield the same date object.
Insert a document with existing _id triggers a duplicate key error (11000). MongoDB reports a WriteError and confirms _id must be unique within a collection; different collections may share it.
Generate 100 documents with _id and index fields via a JavaScript loop in the MongoDB shell, using insertMany and NumberInt, then view batches in Robo 3T.
This course is all about MongoDB. You will learn how MongoDB works behind the scenes. Course will be focused mainly on the MongoDB and MongoDB Shell. In such way you will understand MongoDB much better and learn its key features
This course is designed to provide students with a comprehensive understanding of MongoDB administration, focusing on actual administration tasks that DBAs perform on a day-to-day basis. Students will learn the fundamental concepts and tools necessary to effectively manage a MongoDB database, including installation, configuration, backup and recovery, monitoring and troubleshooting, and security.
The course begins with an overview of MongoDB and its architecture, including the components and processes that make up a MongoDB deployment. Students will then learn how to install and configure a MongoDB instance, including configuring storage, networking, and security settings.
Next, the course covers backup and recovery strategies for MongoDB, including performing regular backups and restoring data in case of failures. Students will also learn how to monitor MongoDB performance and troubleshoot common issues.
Finally, the course covers security concepts and practices for MongoDB, including authentication and authorization, data encryption, and network security.
Throughout the course, students will gain hands-on experience working with MongoDB through a series of practical exercises and labs. By the end of the course, students will have a solid understanding of MongoDB administration and be prepared to manage MongoDB deployments in real-world scenarios.
Some of the course topics and practice activities:
1. You will start from the installation of the MongoDB.
Installation will be performed on the:
- Local computer Mac or PC
- Dedicated or VPS server
- MongoDB Atlas - Cloud MongoDB Software as a Service
You will also install graphical interfaces for MongoDB management:
- Robo 3T (previously Robomongo)
- MongoDB Compass
2. Learn how to work in MongoDB Shell. We will discuss and explore JavaScript Engine that is used in MongoDB.
3. Study primary MongoDB data types - Strings, Numbers, Arrays, Objects, Dates etc. We will talk about JSON and BSON data types and discuss difference between them.
4. Perform all sorts of CRUD (Create, Read, Update and Delete) Operations.
5. Study in-depth MongoDB queries and query language. Different query operators such as $or, $and, $lt, $gt, $type, $in will be deeply covered.
6. MongoDB Aggregation framework
7. MongoDB Indexes and Utilities
Join the course now to get complete knowledge about MongoDB. Gain valuable skills required for the proper MongoDB administration.