Advanced MongoDB teaches participants advanced concepts regarding the MongoDB open-source NoSQL document database. Attendees learn Mongo’s most compelling use cases and master the advanced features of MongoDB.

Audience: Architects, designers, administrators and programmers requiring noSQL as well as project managers requiring intermediate to advanced MongoDB concepts. This course is also for programmers and testers integrating MongoDB into applications.
Course Duration: 2 days
Prerequisites:
  • Some familiarity with database concepts
  • Some experience with any SQL or NoSQL database
  • Basic programming in almost a scripting or object-oriented language (command-line scripting, database programming, or application programming)
Hardware and Software Requirements:

Each student will need:

  • Modern operating system (Windows, Mac, Linux, or Solaris) with at least 3 GB RAM
  • MongoDB 3.x
  • Text editor with line numbering and code highlighting
Course Objectives:
  • Define NoSQL Databases
  • Install, configure and mange MongoDB
  • Learn and employ best practices for using MongoDB
  • Demonstrate knowledge by coding and configuring MongoDB
  • Understand advanced MongoDB concepts
Course Outline:

 

  • Mongo Administration
    • Installing and Configuring MongoDB
    • Operational Strategies
    • Data Management
    • Configuration files
    • Performance Analysis
    • Diagnostics and Debugging
    • Maintenance
  • Backup and Recovery
    • Principles
    • Building backups
    • Recovering from backups
  • Advanced Queries
    • SQL to aggregation mapping
    • Advanced aggregations and map-reduce
  • Accessing MongoDB from Program APIs
    • Using programming APIs to access MongoDB
    • Performing queries
    • Performing updates
  • Indexing and Performance
    • The primary index and the _id field
    • Problems requiring an index
    • Defining secondary indexes
    • Compound indexes
    • Index selection
    • Index hints
    • Covering indexes
    • Index storage size
    • Indexes and explain
    • Optimizing indexes
    • Geospatial indexes
  • GridFS
    • GridFS Collections
    • Using GridFS collections
  •  REST
    • Representational State Transfer
    • Sending REST commands
    • CRUD operations using MongoDB REST operations
  • Mongo Security
    • Authorization and securing collections, documents
    • The limits of Mongo’s authorization scheme
    • Authentication
    • LDAP
    • Mongo security in the enterprise
  •  Replication
    • Configuration
    • Write Concerns
    • Read preferences
    • Elections
    • Failover
  •  Sharding
    • Configuration
    • When to Shard
    • Accessing clustered data from client APIs
    • Shard keys and hashed keys
    • Latency and balancing
  • Next Steps