
Discover how MongoDB is structured and used, from installation across platforms, drivers, and tools, to CRUD operations, data modeling, security, replication, sharding, indexing, backup, and monitoring.
Set up your course environment with a lamp or XAMPP installation and install MongoDB and language drivers; learn to navigate Apache, FileZilla, and the command line, and access sample data.
Explore what NoSQL means, its non-relational, distributed, and scalable nature, and how MongoDB uses a schema-less document model (JSON/BSON) to store data.
Discover why MongoDB is non-relational, distributed, and open source, using JSON-like documents stored in a binary format for scalable, multi-server storage for big data, content management, and mobile apps.
Explore common MongoDB terms like documents, fields, and collections, plus referencing and embedding; discover how cursors and find queries produce results and document growth.
Explains the key mongodb features, including indexes, distributed queries, and read preferences. Demonstrates single-field and compound indexes, and how read routing with shards optimizes performance.
Discover MongoDB features like distributed write operations across shards, the role of mongos and the config server, chunk keyspace, and how query plans and optimizers select the fastest index path.
Learn MongoDB aggregation through pipeline, map reduce, and single purpose options. See pipeline grouping and filtering by gdp, map reduce summing values, and distinct and group operations.
Explore the official Try MongoDB tutorial to practice managing a MongoDB database in the JavaScript-based shell, using the save and find commands in a self-guided lab.
Explore general considerations for installing and configuring MongoDB, including testing installation, startup issues, security setup, and available management tools.
Install MongoDB on Windows by downloading the correct version, extracting to drive C, creating data and log folders, and starting the server; then test the connection with the MongoDB shell.
Install MongoDB on Windows and create a Windows service, then start, stop, and remove it as an administrator. Configure data and log folders and verify with the MongoDB shell.
Learn how to install MongoDB on a Mac, including downloading and extracting the archive, renaming the folder, creating the data and db directories, and setting the path.
Install MongoDB on a Mac, create and customize the mongod configuration file, start mongod with it, and test by inserting and querying a sample document.
Install MongoDB on Debian or Ubuntu Linux by selecting the 64-bit or 32-bit version, then use package installation to configure and start the service, and verify with the MongoDB shell.
Install MongoDB on Red Hat, CentOS, or Fedora Linux using either manual download and extraction or the package manager, then start the service and verify with the mongo shell.
Discover why drivers matter for MongoDB and how to install with javascript, python, ruby, C, C++, and C sharp across Windows, macOS, and Linux.
Explore part two of MongoDB drivers, focusing on JavaScript, Python, and Ruby, including Node.js, and the installation and basic usage of the Python and Ruby drivers.
Explore MongoDB drivers for Java and PHP, including downloading the Java driver jar file and configuring the classpath environment variable. Learn to install PHP drivers via pear.
Explore installing and using the MongoDB Perl driver across Windows, Mac, and Linux with CPAN, Strawberry Perl, and platform package managers; then connect, insert, and query data.
Explore three MongoDB management tools—phpMoAdmin, MongoBird, and RoboMongo—and learn to browse databases, view collections, run queries, and monitor performance.
Learn how to configure MongoDB by editing the configuration file, set the db path, log path, journaling, IP address and port, and export and import data using the respective commands.
Learn to use the Mongo built-in javascript shell to access databases, insert documents, and perform find queries with filters and limits.
Master the Mongo built-in JavaScript shell to update and remove documents, use $set for field updates, and create reusable JavaScript functions saved in system.js and executed with db.eval.
Install and configure MongoDB and the PHP driver, including setting up a lamp stack, importing the suite's complete data, and testing via the MongoDB shell to verify installation.
Install MongoDB on Windows 8 64-bit, create data and log folders, and test with the mongo shell. Then install PHP driver, enable in php.ini, and verify with a test document.
Learn to perform MongoDB queries using find with criteria, including comparison and logical operators, apply projections and modifiers, and optimize with indexing, explain, sort, limit, and hint.
Learn how to use the MongoDB cursor to run queries with find, iterate results, apply projections, and chain modifiers like sort and limit for efficient data retrieval.
Learn to modify MongoDB queries by using projections to limit fields, applying limit to restrict documents, and distinguishing find from find one, including array queries with dot notation.
Explore how to modify MongoDB queries with sort and group, using find projections to display surname, country, status, and balance, and aggregate pipelines with $group, $match, and $sort.
Learn how to add information to a MongoDB database by creating a database, a collection, and inserting documents, including single and batch inserts, with save vs insert differences.
Learn to add information to documents containing arrays in MongoDB using numeric and associative arrays, with array syntax and the $in operator for searches.
Explore adding information as objects in MongoDB documents, including objects inside objects. Use public properties as fields, perform batch inserts, and query with $gt/$lte for nested date and balance.
Explore when to include or exclude the underscore id field in MongoDB documents, compare object id versus custom ids, and avoid duplicate key errors.
Explore basic document updates in MongoDB by updating a single or multiple documents, using update operators like $inc, $set, $rename, and $unset, and employing upsert and write concern options.
Update arrays and fields in MongoDB by applying operators like $set, $inc, and $unset, and manage purchases array with $push, $each, $slice, and $sort.
Delete single or multiple documents in MongoDB using remove with a query and the just one option, then remove fields with $unset and drop collections or databases.
Set up and test the sweets complete website, import product data into MongoDB, rewrite code to use MongoDB queries, and optimize with an index on product ID.
Explore one-to-one relationships in MongoDB by splitting large documents into two linked collections with a common key; compare embedding and references for normalized data models and performance.
Understand manual one-to-one relations in MongoDB by linking customer and profile via a shared id, with two lookups across collections.
Embed a profile as a nested document inside a customer to model one-to-one relationships in MongoDB. Learn to insert and query embedded data using dot notation.
Learn the DBRef approach for one-to-one relationships in MongoDB, using dollar ref, dollar id, and optional dollar db to store and link related documents.
Explore one-to-many relationships in MongoDB, comparing normalized, embedded document, and hybrid DBRef approaches with customers, purchases, and products, including quantity and date details.
Model data using a normalized approach to represent one-to-many relationships among customers, purchases, and products by linking IDs across three collections and querying for purchases by customer.
Explore the embedded approach for one-to-many relationships by embedding products in the purchases array and purchases in the customer document, using dot notation for queries.
Learn to model one-to-many relationships in MongoDB using the DBRef approach, linking customers and products through purchases, and store and query DBRefs with lookups.
Explore modeling tree structures in MongoDB, covering parent references, child references, array of ancestors, materialized path, and nested set, with hierarchical data examples and usage guidance.
Explore how parent references model tree structures in Mongo D-B, using a director-film-actor hierarchy to navigate the tree, store parent ids, and retrieve related documents.
Explore modeling hierarchical data in MongoDB with child references and optional parent links. Build tree structures across director, films, and actors using a children array of _id references.
Learn to build a one-to-many purchases model in MongoDB by importing members data, converting to MongoDBI, embedding purchases into member documents, and querying with lookups and projections.
Import the members dataset into MongoDB and rewrite the members model to use a MongoDB client as part 1 of building a one-to-many model for purchases, covering pagination.
Build a one-to-many purchases model by embedding purchases into member documents with a purchases array, using product lookups and updated scripts.
Enable authentication in MongoDB by activating the auth parameter and creating an admin user. Explore privileges and roles, including read, read write, and db admin, to secure databases.
Manage MongoDB users by adding a single-database user, authenticating as admin, and assigning roles across databases. View system.users, change passwords with change user password, modify privileges, and remove users.
Authenticate from outside the Mongo shell by supplying username, password, and the authentication database, then use the admin database. In apps, use connection string with a user of limited privileges.
Explore replication in MongoDB, including primary and secondary roles, replica sets, and the operations log; understand heartbeat-driven elections, arbiter voting, and read preferences such as primary, secondary, secondary preferred, nearest.
Configure a MongoDB replica set by adding the first member. Back up data with mongoexport, update the configuration file, and restart the database before initiating and verifying rs status.
Add a secondary to a MongoDB replica set, set nonvoting priority for extras, ensure three-node redundancy, and verify connectivity via the mongo shell and DNS/hosts.
Learn how to reconfigure a replica set by adjusting primary and secondary priority values, verify health, and use rs.reconfigure, rs.stepDown, rs.freeze, and rs.remove to manage members.
Troubleshoot replica sets by diagnosing primary–secondary visibility, firewall blocks on port 27017, and DNS or host name issues. Reconfigure members with rs.initiate and rs.status and re-sync data.
Learn how MongoDB sharding distributes a massive collection across replica-set shards with a routing service and config servers, using range-based or hash-based shard keys to partition data into chunks.
Learn to set up and configure sharding in MongoDB, including starting config servers, launching mongos, adding shards, and enabling sharding on a database with hashed index on the shared key.
Explore indexing and performance optimization in MongoDB, including creating user id indexes, using projections, reducing document size, and GridFS with replication and read/write concerns.
Back up and restore MongoDB databases using mongodump and mongorestore, backing up entire database folders and exporting or importing single collections, with replica sets offering continuous online backups.
Discover real-time MongoDB monitoring from the command shell using db.stats, db.serverStatus, and mongo top; explore management tools like Rock Mongo and Mango Bird for replica sets and shard clusters.
Configure authentication for the suites complete database, create admin and read-write users, update the client connection string, and back up and monitor with mongodump, mongostat, and mongotop.
Enable authentication by editing the mongod.conf and use the localhost exception to create admin and suites complete users. Connect with credentials, perform a mongodump, and monitor with mongostat and mongotop.
Celebrate completing the MongoDB course by exploring PHP driver setup and configuration variations. Learn to run phpinfo and verify your OS architecture and thread safety.
This MongoDB training course from Infinite Skills teaches you the tools and techniques needed to work within this cross-platform, document-oriented database system.
You will start by learning how to install and configure MongoDB on a Mac and Windows operating system, as well as learning to use the Mongo built-in JavaScript shell. You will then learn to perform queries, add information, and perform modifications. The course will teach you about data modeling, including one to one and one to many relationships. Finally, this video tutorial will also teach you about MongoDB database management, such as adding and managing user administrators, authenticating and handling errors, and backup procedures.
By the completion of this computer based training course, you will have a strong understanding of how to use the tools available to you in MongoDB. Working files are included, allowing you to follow along with the author throughout the lessons.