MongoDB for Developers Training Course

Node ID: 19479
 

Duration

14 hours
 

Requirements

None

 

Public Course Dates

Can't find a course date that suits your needs below?
Then just submit a public course date request now!
And we will organize the training at a location and date to suit you.
Request Public Course Date >>
 

Overview

This course covers everything a database administrator needs to know to successfully deploy and maintain MongoDB databases and shard clusters. In addition, course topics will include diagnosing performance issues, importing and exporting data, and establishing the proper backup and restore routines. We'll present ideal hardware configurations and discuss common pitfalls for new deployments. The course also includes an overview of the MongoDB CRUD API, the command shell, and the drivers.

Participantes will learn how to:

  • Understand MongoDB from a administrators perspective, including its command shell, query API, and driver tools
  • Deploy MongoDB in all its configurations - as a single server, with master/slave replication, as a replica set, and as a sharded cluster
  • Evaluate applications and choose hardware appropriately
  • Monitor MongoDB instances and integrate with standard monitoring software (Munin, Nagios, etc..)
  • Plan for backups and manage large data imports and exports
  • Troubleshoot the most common administrator issues and failure scenarios
 

Course Outline

MongoDB Architectural Overview

  • Origin, design goals, key features
  • Process structure (mongos, mongod, congif servers)
  • Directory/file structure

Importing and Exporting Data

  • mongoimport/mongoexport

Working with the MongoDB Shell

  • Documents and data types
  • CRUD (Inserts, queries, updates, deletes)
  • System commands

Single-server Configuration and Deployment

  • Configuration files

Security

  • Data files and allocation
  • Log files

Hardware and file-system recommendations

  • Built-in-authentication
  • Recommendations for secure deployment

Monitoring MongoDB

  • mongostat
  • Analyzing memory and IO performance
  • Integration with monitoring tools: Munin/Cactii/Nagios
  • MongoDB's web console

Indexing and Query Optimization

  • Managing indexes and MongoDB indexing internals
  • Single/Compound/Geo indexes
  • Indetifying sub-optimal queries. Using the query profiler

Introduction to drivers (Java/Python/Ruby/PHP/Perl)

  • How the drivers and shell communicate with MongoDB
  • BSON and the MongoDB Wire Protocol
  • Troubleshotting application connections

Intro to Read and Write Scalability

  • Replication and Durability
  • Master-slave replication
  • Replica sets
  • Using write concern for durability
  • Handling replication failures

Afternoon - Auto-Sharding

  • How sharding works
  • Setting up a MongoDB shard cluster
  • Choosing a shard key
  • Sharding and indexes
  • Sharding and Replica Set Topologies
  • Administering a sharded cluster
  • Shard/Chunk Migration
  • Afternoon

Backup and Restore Plans

  • Filesystem-based strategies
  • mongodump/mongorestore
  • rsync

Related Categories

Related Courses