Schema Design Anti Patterns

Learn about common anti-patterns and how to avoid them when data modeling with MongoDB.

Schema Design Anti-Patterns

Unit Overview

In this unit, you'll learn how to recognize and address MongoDB anti-patterns. These anti-patterns are data models that initially seem effective, but actually result in issues impacting performance. You'll learn about the Unbounded Array anti-pattern, the Bloated Documents anti-pattern, Massive Number of Collections anti-pattern, Unnecessary Indexes anti-pattern, Data Normalization anti-pattern, and the Case Sensitivity anti-pattern.

Prerequisites

Lessons in This Unit

  • Lesson 1 – Unbounded Arrays
  • Lesson 2 – Bloated Documents
  • Lesson 3 – Massive Number of Collections
  • Lesson 4 – Unnecessary Indexes
  • Lesson 5 – Data Normalization
  • Lesson 6 - Case-Sensitivity
  • 01.
    Lesson 1: Unbounded Arrays
    • Learn
    • Practice
  • 02.
    Lesson 2: Bloated Documents
    • Learn
    • Practice
  • 03.
    Lesson 3: Massive Number of Collections
    • Learn
    • Practice
  • 04.
    Lesson 4: Unnecessary Indexes
    • Learn
    • Practice
  • 05.
    Lesson 5: Data Normalization
    • Learn
    • Practice
  • 06.
    Lesson 6: Case-Sensitivity
    • Learn
    • Practice
  • 07.
    Conclusion
    • Learn
Sarah Evans | Senior Curriculum Engineer

Sarah Evans | Senior Curriculum Engineer

Sarah is a Senior Curriculum Engineer on the Curriculum team at MongoDB. Prior to MongoDB, she taught and developed curricula for developer bootcamps. Sarah has a MAT degree from Columbia University Teachers College and studied Software Engineering at Flatiron School in Chicago, IL.

Manuel Fontan Garcia | Senior Technologist

Manuel Fontan Garcia | Senior Technologist

Manuel is a Senior Technologist on the Curriculum team at MongoDB. Previously he was a Senior Technical Services Engineer in the Core team at MongoDB. In between Manuel worked as a database reliability engineer at Slack for a little over 2 years and then for Cognite until he re-joined MongoDB. With over 15 years experience in software development and distributed systems, he is naturally curious and holds a Telecommunications Engineering MSc from Vigo University (Spain) and a Free and Open Source Software MSc from Rey Juan Carlos University (Spain).

Emily Pope | Senior Curriculum Designer

Emily Pope | Senior Curriculum Designer

Emily is a Senior Curriculum Designer at MongoDB. Prior to MongoDB, Emily worked closely with professors at MIT and Columbia to design bootcamps in full stack development and data science at Emeritus. She also worked as an instructional designer on database and computer science learning experiences at Cengage. Emily loves learning about the everchanging tech space and is passionate about making these skills accessible to a global audience.

Vick Mena | Director, Curriculum

Vick Mena | Director, Curriculum

My name is Vick and I've been in the wild for over 25 years. I grew up at IBM working on the BIOS for the IBM eServer line in Austin, TX before moving to Wall St. I've worked on all phases of software development from low-level to middleware to UI but feel most comfortable in the middle. I also drank the devops kool-aid having moved a product line to AWS while at Dow Jones & Co with the help of an amazing team. I then pivoted into the secure space and worked on software/hardware reverse engineering. I always thought I'd eventually teach and this role lets me leverage all of my experience to lead this motley crew of passionate educators.

Daniel Curran | Senior Curriculum Designer

Daniel Curran | Senior Curriculum Designer

Daniel is a Senior Curriculum Designer at MongoDB. Before joining MongoDB, he worked as an Instructional Designer and Content Developer specializing in technical content for a host of international clients. Daniel's goal is to remove obstacles so learners can feel confident on their journey to become masters of MongoDB.