O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MongoDB Essentials - A Complete MongoDB Guide

Video Description

A Complete MongoDB Guide and MongoDB Shell.

About This Video

  • Learn how to use MongoDB Shell, Robo 3T (Robomongo), MongoDB Compass for database management.
  • You will be directed through the most important features with good examples, consistency and detailed explanations.

In Detail

In this course on MongoDB and MongoDB Shell, you'll learn:

  • Installation of the MongoDB which will be performed on the Local computer (Mac or Windows), Dedicated or VPS server, MongoDB Atlas - Cloud MongoDB Software as a Service.
  • You will also install graphical interfaces for MongoDB management: such as Robo 3T (previously Robomongo) and MongoDB Compass.
  • Learn how to work in MongoDB Shell. We will discuss and explore JavaScript Engine that is used in MongoDB.
  • Study primary MongoDB data types - Strings, Numbers, Arrays, Objects, and Dates etc. We will talk about JSON and BSON data types and discuss the difference between them.
  • Perform all sorts of CRUD (Create, Read, Update and Delete) Operations.
  • Study in-depth MongoDB queries and query language. Different query operators such as $or, $and, $lt, $gt, $type, $in will be deeply covered.
  • MongoDB Aggregation framework
  • MongoDB Indexes and Utilities

This course is perfect for anyone who wants to quickly get up-to-speed on MongoDB.

All the code and supporting files for this course are available at: https://github.com/PacktPublishing/MongoDB-Essentials---A-Complete-MongoDB-Guide

Table of Contents

  1. Chapter 1 : Course Navigation and Practice Tasks Overview
    1. WINDOWS ONLY - Install "cmder" 00:00:28
  2. Chapter 2 : Introduction to MongoDB
    1. Introduction Module Overview 00:00:41
    2. Document Database Overview 00:01:49
    3. Understanding JSON 00:04:24
    4. BSON 00:00:50
    5. Conversion between JSON and BSON 00:01:36
    6. Extended JSON Modes 00:02:50
    7. MongoDB Structure 00:01:29
    8. MongoDB Architecture 00:01:06
    9. MongoDB Remote Management 00:01:55
    10. MongoDB Introduction Summary 00:00:43
  3. Chapter 3 : MongoDB Installation Options
    1. Installation Introduction 00:00:41
    2. Installation options 00:03:14
  4. Chapter 4 : Installing MongoDB on the local computer (Mac or Windows)
    1. Installing on the Mac 00:05:52
    2. Launch MongoDB as a service on the Mac 00:03:23
    3. Installing on Windows 00:05:30
  5. Chapter 5 : Installing MongoDB on the Dedicated or VPS server
    1. Hosting Services Overview 00:01:20
    2. Launch Amazon EC2 server 00:03:57
    3. Installing MongoDB on the Ubuntu Server 00:04:32
    4. Configure MongoDB network access 00:04:20
    5. Allow external access to the server 00:01:54
    6. Create MongoDB Admin user 00:02:52
    7. Connecting to MongoDB 00:03:33
  6. Chapter 6 : Using MongoDB as a Service (Cloud MongoDB)
    1. Introduction to MongoDB Cloud 00:02:49
    2. Create MongoDB Atlas Cluster 00:03:02
    3. Verify connection to the Cloud MongoDB Replica Set 00:12:03
  7. Chapter 7 : Installing GUI Tools for MongoDB Management
    1. GUI tools Overview 00:02:31
    2. Install and Configure MongoDB Compass 00:06:31
    3. Install and Configure Robo 3T (Robomongo) 00:10:13
  8. Chapter 8 : Introduction to the MongoDB Shell
    1. Introduction to the MongoDB Shell 00:00:20
    2. Setup Overview 00:02:22
    3. MongoDB Shell JavaScript Engine 00:04:05
    4. Exploring MongoDB Server and Shell versions 00:04:32
    5. Getting help in the MongoDB shell 00:03:25
    6. MongoDB Shell JavaScript Syntax 00:04:07
    7. Arguments in the MongoDB Method 00:02:51
    8. MongoDB Shell Module Summary 00:00:52
  9. Chapter 9 : Primary MongoDB Data Types
    1. Introduction to the MongoDB Types 00:00:24
    2. Most Common MongoDB BSON Types 00:02:18
    3. Types Syntax in Shell Mode 00:06:22
    4. BSON Type Identifiers 00:01:14
    5. _id 00:01:32
    6. ObjectId 00:04:11
    7. Date and ISODate 00:02:52
    8. Convert dates to ISODate Format 00:03:15
    9. Storing proper Number Types in BSON 00:04:18
    10. MongoDB Data Types Module Summary 00:01:01
  10. Chapter 10 : Basic Create, Read, Update and Delete (CRUD) Operations
    1. Introduction to the CRUD Module 00:00:23
    2. Introduction to the CRUD Operations 00:01:28
    3. Exploring Databases and Collections 00:05:15
    4. Create and Delete Databases and Collections 00:12:08
    5. Insert Methods Overview 00:02:13
    6. insert() 00:07:30
    7. insertOne() 00:02:45
    8. insertMany() 00:02:27
    9. Insert Document with different Value Types 00:06:39
    10. Duplicate _id Error 00:03:49
    11. Reading Documents Overview 00:01:43
    12. Cursor 00:02:48
    13. How Cursor works in find() 00:02:34
    14. Generating Sample Set of Documents 00:07:59
    15. Iterate Cursor in MongoDB Shell 00:01:52
    16. Difference between Batch Size and Iterator Size 00:03:05
    17. Change MondoDB Shell Iterator size 00:01:13
    18. batchSize() 00:06:14
    19. Cursor iteration using next() and hasNext() 00:07:59
    20. forEach() and toArray() 00:06:29
    21. count(), limit(), skip() and sort() 00:05:09
    22. Chaining sort(), limit() and skip() 00:04:32
    23. findOne() 00:02:30
    24. CRUD Operations Module Summary 00:00:52
  11. Chapter 11 : MongoDB Queries
    1. Introduction to MongoDB Queries 00:00:37
    2. Insert Sample Documents 00:03:29
    3. Empty Query 00:01:37
    4. Equality Query 00:03:41
    5. Introduction to Operators 00:01:01
    6. Comparison Operators $eq, $neq, $lt, $gt 00:07:15
    7. $in and $nin 00:01:47
    8. $and 00:08:12
    9. $or 00:04:31
    10. Embedded Documents 00:04:50
    11. Query Arrays by Specific Value 00:03:13
    12. Array operators $all, $size 00:03:17
    13. Query Array of Nested Documents 00:08:54
    14. $elemMatch 00:04:54
    15. $exists and $type 00:07:07
    16. Fields Filtering 00:07:16
    17. $regex 00:04:51
    18. Queries Module Summary 00:00:40
  12. Chapter 12 : Updating Documents
    1. Introduction to the Document Updates 00:01:24
    2. Create Sample Documents 00:02:36
    3. Update Methods Syntax 00:01:03
    4. $set 00:05:20
    5. $unset 00:03:59
    6. update() one Document 00:04:01
    7. update() multiple Documents 00:03:14
    8. updateOne() 00:03:15
    9. updateMany() 00:02:25
    10. replaceOne() 00:03:50
    11. Combine multiple update Operators 00:04:08
    12. $rename 00:04:01
    13. $currentDate 00:05:58
    14. Array Update Operators 00:00:49
    15. $push 00:05:55
    16. $addToSet 00:05:23
    17. $pop 00:03:14
    18. $pull 00:04:32
    19. $pullAll 00:04:00
    20. Positional Operator $ 00:06:12
    21. Positional Operator $ in Nested Documents 00:09:05
    22. Positional Operator $ with $elemMatch 00:04:16
    23. $inc 00:02:35
    24. Update Module Summary 00:00:57
  13. Chapter 13 : Delete Operations
    1. Introduction to the Delete Operations 00:00:47
    2. Create temp DB, Collection and Documents 00:01:43
    3. Delete Documents Overview 00:00:29
    4. remove() 00:03:21
    5. deleteOne() 00:02:23
    6. deleteMany() 00:01:55
    7. drop() Collection 00:01:38
    8. dropDatabase() 00:02:11
    9. Delete Operations in Robo 3T 00:02:45
    10. Delete Module Summary 00:00:54
  14. Chapter 14 : Aggregation Framework
    1. Introduction to the Aggregation Framework 00:00:58
    2. Loading sample documents 00:01:03
    3. Aggregation Process 00:01:53
    4. aggregate () 00:02:22
    5. Aggregation Stages Overview 00:02:19
    6. Aggregation Expressions 00:03:08
    7. $match 00:01:11
    8. Aggregation Example 1 - $match 00:03:16
    9. $group 00:03:56
    10. Aggregation Example 2 - $group 00:03:22
    11. Aggregation Example 3 - $group by nested Fields 00:02:12
    12. Aggregation Example 4 - $group by multiple fields 00:03:52
    13. Aggregation Example 5 - $match and $group 00:03:52
    14. Aggregation Example 6 - swap $match and $group 00:03:04
    15. Aggregation Example 7 - $group and $match 00:03:22
    16. $count 00:01:18
    17. Aggregation Example 8 - $count 00:01:28
    18. Different documents count methods 00:04:08
    19. Aggregation Example 9 - $group and $count 00:03:57
    20. $sort 00:02:02
    21. Aggregation Example 10 - $sort 00:02:43
    22. Aggregation Example 11 - $group and $sort 00:04:37
    23. $project 00:02:43
    24. Aggregation Example 12 - $project 00:03:50
    25. Aggregation Example 13 - $project with restructuring 00:04:25
    26. $limit 00:01:24
    27. Aggregation Example 14 - $limit, $match and $group 00:03:16
    28. Arrays $group issue 00:01:19
    29. $unwind 00:02:48
    30. Aggregation Example 15 - $unwind and $project 00:03:36
    31. Aggregation Example 16 - $unwind and $group 00:02:34
    32. Accumulators 00:03:20
    33. Accumulators Syntax 00:01:11
    34. $sum 00:01:44
    35. Aggregation Example 17 - $sum and $group 00:03:10
    36. Aggregation Example 18 - $sum, $unwind and $group 00:02:18
    37. $avg 00:01:02
    38. Aggregation Example 19 - $avg and $group 00:02:08
    39. Unary Operators 00:02:08
    40. $type 00:00:45
    41. Aggregation Example 20 - $type and $project 00:03:20
    42. $out 00:01:18
    43. Aggregation Example 21 - $out 00:02:48
    44. allowDiskUse Option 00:02:13
    45. Aggregation Module Summary 00:00:49
  15. Chapter 15 : Indexes
    1. Introduction to Indexes 00:00:24
    2. Indexes Overview 00:01:20
    3. Index Creation Process 00:02:20
    4. B-tree and how index works 00:01:57
    5. Default _id index 00:01:40
    6. getIndexes() 00:01:46
    7. Create new Index 00:02:57
    8. Index Creation Options 00:01:06
    9. Index Example 1 - Create Unique index 00:03:47
    10. Index Example 2 - Create index in background 00:01:27
    11. Index Example 3 - Index with custom name 00:01:44
    12. Query Performance and explain() 00:01:27
    13. Index Example 4 - Query performance with index 00:02:49
    14. Index Example 5 - ExecutionStats with Index 00:02:22
    15. Index Example 6 - Query performance without index 00:02:08
    16. Index Example 7 - ExecutionStats without Index 00:02:24
    17. Index Example 8 - ExecutionStats with RegExp 00:03:02
    18. Indexes deletion 00:02:39
    19. Indexes Summary 00:01:32
  16. Chapter 16 : Utilities
    1. MongoDB Utilities Introduction 00:00:46
    2. mongoexport 00:03:09
    3. mongoexport Example 00:04:55
    4. mongoimport 00:01:49
    5. mongoimport Example 00:03:43
    6. mongodump 00:01:47
    7. mongodump Example 00:03:05
    8. mongorestore 00:01:28
    9. mongorestore Example 00:03:33
    10. mongostat 00:01:18
    11. mongotop 00:01:27
    12. MongoDB Utilities Summary 00:00:43
  17. Chapter 17 : Wrap Up
    1. Course Summary 00:00:15