Databases
MongoDB Schema Design Principles That Hold Up in Production
Schema design principles for MongoDB that hold up under real query patterns, not just the ones that look clean in a demo.
3 min read
Tag
3 articles
Schema design principles for MongoDB that hold up under real query patterns, not just the ones that look clean in a demo.
A practical look at JSON and JSONB columns: when they replace a schema migration, when they hide a design problem, and how to index them.
When strict normalization protects you, when it just adds joins, and how to denormalize deliberately instead of by accident.