top of page

MongoDB

Summary:

 

This course will introduce learners to MongoDB, a NOSQL document oriented database. This course will go over basic installation, JSON, schema design, querying, insertion of data, indexing, some administration and Programming in Java using MongoDB driver.

 

Course Specifics:

​

Section 1: Introduction

  • A rich data model

  • History

  • Distinguishing features of MongoDB

  • Basic Concepts

  • Document

  • Document Operations

  • CRUD Operations

    • Creating Documents

    • Reading Documents

    • Updating Documents

    • Deleting Documents

 

Section 2: Data Modeling

  • Considerations

  • Modeling Relationships

  • Embedding Documents

  • Referencing Documents

  • Atomic Operations

  • TTL

 

Section 3: Indexing

  • Introduction Indexing

  • Create indices

  • Compound Index

  • Indexing Embedded Documents

  • Multi-key Index

  • Covered Index

  • Sparse Index

  • Unique Index

 

Section 4: Aggregation

  • Aggregation Framework

  • Pipeline Operators

  • Group

  • Project

  • Match

  • Unwind

  • Sort

  • Limit

  • Skip

  • Creating Aggregation Pipeline

  • MapReduce

  • Output of MapReduce

  • Simple Aggregation Methods

  • Count

  • Distinct

  • Group

  • Aggregation vs. MapReduce vs. Group

 

Section 5: Replication

  • MongoDB Cluster

  • Replica Set

  • Replica Set: Read Preference

  • Replica Set: Request Association

  • Write Concern

 

Section 6: Sharding

  • Why scale horizontally?

  • Scaling Load

  • Read Scaling with Replica Set

  • Sharding Writes

  • Chunk

  • Balancing

  • Sharding: Mongos

  • Sharding: Config Servers

  • Query Routing

  • Targeted Query

  • Scattered Query

  • Shard Key

  • Good Shard Key

  • Bad Shard Key

  • Hashed Shard Key

bottom of page