All posts

Mongodb

Every post tagged mongodb on the DbSchema blog.

Mongodb 11 Nov 2026

MongoDB Schema Design Best Practices for 2026

MongoDB schema design best practices on one shop database: when to embed and when to reference, ESR indexes, a $jsonSchema validation rule, and the anti-patterns to avoid.

Mongodb 08 Nov 2026

Migrating a Relational Schema to MongoDB

Move a MySQL or PostgreSQL schema to MongoDB: map tables to collections, embed or reference each relationship, and turn constraints into validation rules.