0345 4506120

MongoDB Essentials

The MongoDB Essentials course is designed to give delegates experience of installing and using the MongoDB database.  This hands-on course introduces delegates to the concept of a document-oriented database then shows how to set up MongoDB for use.  Delegates use the built-in shell and various APIs to build a database access application and manipulate data.  We also investigate optimising queries using indexes and aggregating data with MongoDB functions.

The delegate will learn and acquire skills as follows:

  • Database installation and setup
  • Document based data modelling
  • Creating document collections
  • CRUD operations with the Mongo shell
  • Aggregation pipelines
  • MongoDB transactions
  • MongoDB access using programming languages
  • Creating indexes

Who will the Course Benefit?

This course is aimed at application developers who wish to use MongoDB to store, access and edit data.

Learning Objectives

Course Objectives

By the end of the course delegates should be able to:

  • Install the MongoDB database
  • Use the MongoDB shell to access the database
  • Create, retrieve, update and delete data
  • Use aggregation queries
  • Appreciate the APIs used to interface with MongoDB
  • Understand the document based structure of the database
  • Use an API to develop applications
  • Optimise queries with indexes

Pre-Requisites

Requirements

An understanding of programming and database principals would be beneficial.

Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Course Content

Day 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: NOSQL DATABASES

  • What are NoSQL Databases?
  • Common Database Features
  • NoSQL Versus Relational Approach
  • Types of NoSQL Databases
  • Data Storage
  • Transaction Handling
  • Key Features

Session 2: INSTALLING MONGODB

  • Downloading in the Required Software
  • Installing MongoDB
  • Configuration Files
  • Touring the File Structure
  • Securing the Installation

Session 3: DATA MODELLING AND DESIGN

  • Data Storage
  • Working with Datatypes
  • Collections
  • Document Datatypes
  • Creating _id Fields

Session 4: QUERYING DATA

  • Databases and Collections
  • Querying Collections
  • Working with Operators
  • Referencing a Database
  • Querying Dates

Day 2

Session 5: THE AGGREGATION FRAMEWORK

  • Aggregating Results
  • Single Purpose Functions
  • The Aggregation Pipeline
  • Date Aggregation Operators

Session 6: MANIPULATING DATA

  • Inserting Data into Collections
  • Updates
  • Deletes
  • Atomic Operations
  • Removing Data
  • Capped Collections

Session 7: USING AN API

  • Introducing Drivers
  • Java
  • PHP
  • Ruby
  • Python

Session 8: HIGH PERFORMANCE OPTIONS

  • Creating Indexes
  • Manipulating Index Behaviour
  • Index Properties
  • Specialised Index Types
  • Replication
  • Sharding

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the request service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Online Courses

You may prefer an online course if you are looking for a flexible and cost-effective solution. Online courses allow you to study at your own pace, at a time that suits you.

We have the following eLearning options available:

Our Customers Include