MongoDB workshop

In this training, you will learn the overview and requirements of NoSQL databases and see the arhitectural components of Mongo DB Servers. We will start from the installation phase and move to the details of MongoDB servers including Replica Sets and Sharded Clusters for High-Availability. You will learn how to interact with the data in MongoDB using CRUD (Create, Read, Update, Delete) Operations. Additionally there will be monitoring and maintenance related subjects. You will be doing hand-on practices during the workshop.

What you will learn

  • Understand NoSQL databases and their types
  • Install MongoDB and manage the MongoDB Servers
  • Manage and Maintain the MongoDB
  • Use CRUD Operations
  • Backup and Restore the MongoDB
  • Performance Management
  • Monitoring

About the instructor Cuneyt Yilmaz

Cuneyt is working as senior instructor with specialty in Oracle products mostly related with Data Warehouses, Business Intelligence, Siebel CRM and security related solutions. Apart from the trainings, he provides consultancy services about Oracle database administration, performance tuning, designing and implementing data warehouses, and implements “Security Best Practices” at Oracle Databases especially using Audit Vault, Database Vault and TDE solutions. Cuneyt is consultant for Security and Risk Management departments of several banks in Turkey. He is also providing services using Weblogic Server and Fusion Middleware Products. 

Cuneyt has been working with customers in 35 countries across the Nordics and EMEA over the last 15 years. He has delivered all Oracle Database trainings for Glasspaper the last 3 years - all with top score. Cuneyt combines top technology skills with his kindness and strong pedagogical skills. We dare to say, nobody leaves Cuneyt`s classroom disappointed!

Cuneyt is based in Istanbul and has been delivering Live Virtual Classes since 2011. 

Course outline:

Module 1: Introduction to NoSQL

  • What Is NoSQL?
  • Why NoSQL databases are required?
  • Types of NoSQL Database
  • NoSQL vs SQL Comparison
  • ACID & BASE Property
  • CAP Theorem
  • Benefits of NoSQL databases
  • Installation
  • Start and Stop the mongodb process

Module 2: Architecture

  • Document, Collection, Databases
  • JSON and BSON
  • Storage Engines
  • WiredTiger Storage Engine
  • Snapshots and Checkpoints
  • Journal
  • Compression
  • In-Memory Storage Engine
  • Read and Write Concerns
  • GridFS

Module 3: CRUD Operations

  • Mongodb Data Types (BSON Types)
  • CRUD Operations
  • Create Operations
  • Read Operations
  • Update Operations
  • Delete Operations
  • Bulk Write Operations

Module 4: Schema Design and Data modeling

  • Dynamic Schema
  • Document Structures
  • Schema Validation
  • What is Data modeling?
  • Embedding Document
  • Reference Document
  • Factors effect Data Model Selection

Module 5: Indexes

  • Indexing concepts in MongoDB
  • Types of Indexes
  • Index Properties
  • Managing Indexes
  • Index Strategies

Module 6: Database Administration

  • Changing Run-time Configuration
  • Database Server Status
  • Current Operations
  • Managing mongod Processes
  • Terminating Running Operations
  • Rotating Log Files
  • Enabling Access Control
  • Users and Roles
  • Copy and Clone database
  • DB and Collection Stats
  • Explain Plan
  • Database Profiler
  • Diagnostic Commands

Module 7: Backup and Security

  • Concept of Backups
  • mongoexport/mongoimport
  • mongodump/mongorestore
  • Oplog backups
  • LVM Backups

Module 8: Read Operations

  • Query on Embedded/Nested Documents
  • Query an Array
  • Query an Array of Embedded Documents
  • Project Fields to Return from Query
  • Query for Null Fields
  • Explain Plan
  • Database Profiler
  • Diagnostic Commands
  • Iterating a Cursor
  • Linearizable Reads

Module 9: Replication

  • Concept of Replication
  • Replica Set Member Roles
  • Replication Process
  • Read Reference
  • Replica Set Primary & Seconday Members
  • Role of Oplog in Replication
  • Deployment Architectures
  • Voting and Electing Primary
  • Rollbacks During Replica Set Failove
  • Write Concern and Read Preference

Module 10: Scalability

  • Concept of Scalability
  • Sharding Concept
  • Shard Keys and Chunks
  • Advantages of Sharding
  • Sharded and Non-sharded Collection
  • Sharding Strategies
  • Sharded Cluster Components
  • Production and Development Deployments
  • Zones

Module 11: Monitoring and Other Tools

  • Monitoring
  • MongoDB Tools
  • MongoDB Developer Tools
  • MongoDB Ops Manager