Understand how good design facilitates scale and achieve top performance by gaining insights into indexing strategies.
About This Video
- A practical demonstration of the different storage types available to MongoDB and when to use them.
- Determine good design schemas for your collections; when to stop denormalization when designing collections.
- Indexing, next to architecture, is key in scaling your MongoDB database. Learn how, when and why to use indexing and also learn all about CRUD queries (Create, Read, Update, Delete) using the MongoDB client to put data in and get data out.
MongoDB makes it possible to store and process large sets of data in ways that increase business value. The flexibility of unstructured, schema-less, storage, combined with robust querying and post-processing functionality, make MongoDB a compelling solution for enterprise big data needs.
We need to discuss database schemas. Yes, MongoDB is touted as schema-less but here's where we show that proper design is what allows our collections to scale. Indexing is something everyone talks about, but few understand. We'll explain MongoDB indexing, and index properties because a successful indexing strategy is a key to performance and scaling. Finally, we'll talk about CRUD commands from the MongoDB client and how to write effective queries.
Taking this course will help you understand supported standards and data types in MongoDB, and best practices to design collections to scale and index them. Also, you will learn some basic CRUD commands.
Table of Contents
- Chapter 1 : Imposing Schema on a Schema-Less System
Chapter 2 : Indexes – The Keys to Speed
- Indexes – What Indexes Do, How They’re Stored, Used, and Their General Impact 00:05:14
- Index Properties – How Index Properties Can Enhance or Fine-Tune Existing Indexes 00:07:13
- Index Properties – How Index Properties Can Enhance or Fine-Tune Existing Indexes (Continued) 00:11:25
- Index Management 00:08:32
- Index Management (Continued) 00:07:58
- Index Management – Demo 00:21:14
Chapter 3 : CRUD
- Introduction to MongoDB CRUD Queries 00:06:19
- Create – How to Create New Databases and New Collections 00:10:24
- Create – How to Create New Databases and New Collections (Continued) 00:06:43
- Demo for Create Command 00:04:37
- Read – How to Fetch Data from a Collection 00:14:01
- Read – How to Fetch Data from a Collection (Continued) 00:15:48
- Demo for Read Command 00:15:56
- Update – How to Update Existing Records Within a Single Query 00:08:44
- Update – How to Update Existing Records Within a Single Query (Continued) 00:12:37
- Demo for Update Command 00:12:15
- Demo for Update Command (Continued) 00:06:44
- Delete – How to Permanently Remove Data from Your Collection 00:13:30
- Demo for Delete Command 00:14:09
- Aggregation –How to Write Aggregation Queries 00:15:31
- Demo for Aggregation 00:16:18
- Demo for Aggregation (Continued) 00:09:42
Chapter 4 : Administration of Your Database
- Maintaining Databases and Collections 00:12:46
- Moving Your Database to Another Location 00:14:51
- Demo One – Moving a Database to Another Machine 00:12:54
- Demo Two – Moving a Database to Another Machine 00:08:51
- Moving a Collection to Another Database 00:09:45
- Demo One – Moving a Collection to Another Database 00:05:33
- Quick and Easy Backup and Recovery 00:10:43
- Demo – Backup and Recovery 00:08:54
- Dropping Collections and Databases 00:07:16
- Demo – Dropping Collections and Databases 00:05:20
- Title: Learning MongoDB Schema, Indexes and Queries
- Release date: August 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788628051