Schema Modeling Patterns and Best Practices for Document Databases

Learn how to model and shape your documents when using document-oriented databases so that they serve your application in an optimal way. This course will teach you how to create and evaluate document structures across a variety of common use cases.
Course info
Level
Intermediate
Updated
Dec 18, 2019
Duration
1h 45m
Table of contents
Description
Course info
Level
Intermediate
Updated
Dec 18, 2019
Duration
1h 45m
Description

How should I structure my document when using a document-oriented database such as MongoDB, CosmosDB, AWS DocumentDB, or CouchDB? In this course, Schema Modeling Patterns and Best Practices for Document Databases, you will learn to model and structure your document to best serve your application. First, you will learn how to evaluate your document model. Next, you will discover how to model entity relationships such as one-to-one, one-to-many, and one-to-few. Finally, you will explore how to apply the modeling principals to common real world scenarios. When you are finished with this course, you will have the skills and knowledge of document-oriented modeling needed to design optimal documents for any need.

About the author
About the author

Nuri is a developer, technical speaker and owner of Plus N Consulting. He codes for a living and lives to code. Learning, teaching and exploring technology is his passion.

More from the author
MongoDB Administration
Intermediate
7h 18m
Jun 2, 2015
More courses by Nuri Halperin
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello. Welcome to my course, Schema Modeling Patterns and Best Practices for Document Databases. My name is Nuri Halperin, and I'm a senior solutions architect. How should you structure your document? What principles should you follow? What drives the design of your data decisions? Here's a hint. It's not denormalization. Document‑oriented databases require a different kind of thinking, and the rules are not always that intuitive. In this course, we're going to learn how to design documents for document‑oriented databases such as MongoDB, Cosmos DB, Couch, and others. Some of the major topics that we will cover include how to model simple one‑to‑one, one‑to‑few, and one‑too‑many relationships, how to leverage the flexibility of documents to your advantage, the simple steps and principles you apply when designing your documents, and how to evaluate and combine design principles in order to solve real‑world problems. By the end of this course, you will know how to design documents in an optimal way for your specific scenario. Before beginning this course, you should be familiar with one or more major NoSQL databases. I hope you'll join me on this journey to learn how to design your database and documents with this course labeled Schema Modeling Patterns and Best Practices for Document Databases, here at Pluralsight.