Recognize and avoid schema design anti-patterns in Azure DocumentDB

Intermediate
Developer
Azure DocumentDB

Identify and fix common schema design mistakes in Azure DocumentDB, including unbounded arrays, collection sprawl, unnecessary indexes, over-normalization, and case-sensitivity issues.

Learning objectives

After completing this module, you'll be able to:

  • Identify the unbounded arrays and collection sprawl anti-patterns and apply structural fixes.
  • Recognize unnecessary indexes and over-normalization, and apply performance-focused solutions.
  • Detect and resolve case-sensitivity issues that cause duplicate data and failed lookups.

Prerequisites

  • Familiarity with database concepts such as queries, indexes, and data models.
  • Basic understanding of MongoDB or document-oriented databases.
  • Experience with insert, query, update, and delete operations in Azure DocumentDB or MongoDB.
  • Understanding of data relationship modeling with embedding and referencing strategies.
  • An Azure subscription.
  • An Azure DocumentDB cluster.