MongoDB

[toggle title=”Introduction”]

What is MongoDB?

What is NoSQL?

Advantages of NoSQL

Why MongoDB?

Features, Advantages & Disadvantages

MongoDB vs RDBMS

MongoDB Installation

Quick Introduction to MongoShell

The MongoDB JAVA Driver[/toggle]

[toggle title=”CRUD -PART I”]

BSON Introduction

Inserting Docs- Simple doc, embedded doc, Array of Embedded doc

Introduction to findOne & find

Querying using field selection

Querying using comparison operator

Comparison on String

Logical Operators

Element query operators- $exist, $type

$regex

Querying embedded documents, with dot notation

Query on Array

Assignment[/toggle]

[toggle title=”CRUD -PART II”]

Updating of Documents

Using $set command

Using $unset command

Array Update Operator

Upserts

Multi-Update

Removing Documents

Replace Document

Assignment for practice[/toggle]

[toggle title=”Index & Performance”]

Indexes

Creating Indexes

Discovering Indexes

Index Properties

Logging slow queries

Profiling

Mongotop, Mongostat[/toggle]

[toggle title=”Data Modeling”]

Data Modeling Introduction

Data Model Design

MongoDB schema design

Model Relationships

  • One-to-One Relationship
  • One-to-Many Relationship
  • Many-to-Many Relationship[/toggle]

[toggle title=”Aggregation Framework- PART I”]

Introduction to Pipeline

Aggregation Expressions

pipeline operators

$unwind

Examples to practice

Assignment[/toggle]

[toggle title=”Aggregation Framework- PART II”]

Double Unwind

$cond operator

Set Operators

Arithmetic Operators

$lookup

$redact, $filter, $ifNull

Assignment[/toggle]

[toggle title=”Aggregation Framework- PART III”]

Complex Queries on Aggregation

Pipeline Optimization

MapReduce

Assignment[/toggle]

[toggle title=”Aggregation Framework- PART IV”]

Performance tuning query issue

Indexing on Aggregation[/toggle]

[toggle title=”MongoDB JAVA Driver”]

Connection with MongoDB using Java Driver

Querying documents

Insert

Update & Replace

Aggregation Example[/toggle]

[toggle title=”Replication & Sharding”]

Replication Theory & Demo

Sharding Theory & Demo[/toggle]

[toggle title=”MongoDB with SPARK”]

Introduction & Setting up learning environment

What is Spark?

Spark Hadoop Ecosystem

Where does MongoDB fit?

RDDs

Introduction to Example

Introduction to Spark Shell

Connecting Spark & MongoDB

Interacting with RDD

ReadConfig object, WriteConfig object

Transformations on RDD & writing RDD to MongoDB

Aggregation Pipeline

Dataframe

Mongo Spark Example in Eclipse

Assignment[/toggle]