DbSchema Blog

Database design, migrations, SQL and everyday database work — explained with practical examples.

SQL tutorial

Learn SQL in your browser

A free SQL tutorial in short lessons on one shop database. Every example runs on real PostgreSQL in your browser, and the page checks your answers.

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.