MongoDB Training

MongoDB is a cross-platform document based database. As a NoSQL database program, MongoDB uses JSON-like documents with schema. This corporate training program on MongoDB takes participants through the basics of…

Created by

Stalwart Learning

Date & Time

Price

Duration

3 Days

Location

https://stalwartlearning.com

ENQUIRE NOW


Course Description

Overview of MongoDB

MongoDB is a cross-platform document based database. As a NoSQL database program, MongoDB uses JSON-like documents with schema. This corporate training program on MongoDB takes participants through the basics of Databses and Introduction to MongoDB, various MongoDB features and use cases all the way to deployment and administration.

Duration

3 Days

Prerequisite for MongoDB

Good knowledge of JavaScript including closures and callbacks – Basic knowledge of web application development concepts – Basic knowledge of Node.js is a plus, but not necessary. A very brief introduction to Node.js is included in the course. – Knowledge of RDBMS or NoSQL concepts.

Course Outline for MongoDB

MongoDB Basics
  • RDBMS vs NoSQL DBs
  • Types of NoSQL DBs
  • Pros and Cons of RDBMS and 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
Mongo Shell
  • Getting started
  • Databases, collections, and documents
  • CRUD operations – Inserts, queries, updates, deletes
  • Creating and querying with indexes
  • Indexing and explain( )
  • Basic administration
  • mongodump and mongorestore
Using MongoDB in Node.js
  • A quick introduction to Node.js
  • Using MongoDB in Node.js via the Mongo DB driver
  • CRUD operations – Inserts, queries, updates, deletes
  • Introduction to the Mongoose ODM Installing Mongoose and using it
  • Schemas and Models
  • Principles of schema design – modeling relationships
  • Operation Hooks
  • Data Validation during operations
  • Building a simple application
Constructing Queries
  • 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( )
Document Updates, Atomic Operations, and Deletes
  • 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
Indexing and Query Optimization
  • Core concepts
  • Indexing in practice
  • Index types
  • Index administration
  • Query optimization
Replication
  • Introduction to replication
  • Use cases and limitations
  • Replica sets and setup
  • Connections and failover
Sharding
  • Introduction to sharding
  • When to shard
  • Components of a sharded cluster
  • Mongos router
  • Config servers
  • Strategies for distributing data
Querying and indexing a shard cluster
  • Query routing
  • Indexing in a sharded cluster
  • Aggregation in a sharded cluster
Deployment and Administration
  • Hardware and provisioning
  • Cluster topology
  • Deployment environment
  • Provisioning
  • Using Atlas
  • Monitoring and diagnostics
  • Logging
  • MongoDB diagnostic tools and commands

ENQUIRE NOW