MongoDB

Overview

This corporate training program on MongoDB takes participants through the basics of the Databases and intro to MongoDB, features of MongoDB and use cases all the way to deployment and administration.
Duration
3 Days

Pre-Requisites
  • Good knowledge of JavaScript
  • Knowledge of web application development concepts
  • Knowledge of Node.js is a plus
  • Knowledge of RDBMS or NoSQL concepts
  • Course Outline

    • RDBMS vs NoSQL DBs
    • Types of NoSQL DBs
    • Pros and Cons of RDBMS & NoSQL DBs
    • Document data model
    • When to use a document database?
    • Introduction to MongoDB
    • Features of MongoDB
    • Installation and getting started
    • Using Compass and Robo 3T
    • Getting started
    • Databases, collections, & documents
    • CRUD operations : 
      • Inserts, 
      • queries, 
      • updates, 
      • deletes
    • Creating and querying with indexes
    • Indexing and explain
    • Basic administration
    • mongodump & mongorestore
    • A quick introduction to Node.js
    • Using MongoDB in Node.js through the Mongo DB driver
    • CRUD operations: 
      • Inserts
      • queries
      • updates
      • deletes
    • Introduction to the Mongoose ODM, Installing Mongoose & using it
    • Schemas and Models
    • Principles of schema design – modeling relationships
    • Operation Hooks
    • Data Validation during operations
    • Building a simple application
    • MongoDB’s query language
    • Query Criteria and Selectors
    • Query options
    • Overview of the aggregation framework
    • Aggregation pipeline operators
      • $project
      • $group
      • $match
      • $sort
      • $skip
      • $limit
      • $unwind 
      • $out Reshaping documents 
        • String
        • Arithmetic
        • Date
        • Logical
        • set and miscellaneous functions count( ) and .distinct( )
    • Introduction to document updates
    • Modify by replacement
    • Modify by operator
    • Atomic document processing
    • Update operators
    • The find and modify command
    • Deletes Concurrency, atomicity, and isolation
    • Core concepts
    • Indexing in practice
    • Index types
    • Index administration
    • Query optimization
    • Introduction to replication
    • Use cases and limitations
    • Replica sets and setup
    • Connections and failover
    • Introduction to sharding
    • When to shard
    • Components of a sharded cluster
    • Mongo’s router
    • Config servers
    • Strategies for distributing data
    • Query routing
    • Indexing in a sharded cluster
    • Aggregation in a sharded cluster
    • Hardware and provisioning
    • Cluster topology
    • Deployment environment
    • Provisioning
    • Using Atlas
    • Monitoring and diagnostics
    • Logging
    • MongoDB diagnostic tools and commands