Database Indexing 101 — faster queries, fewer surprises
A practical mental model for indexes, with copy‑paste patterns for B‑tree, composite order, covering, partial, and expression indexes—plus when **not** to index.
devdatabasessql
Tiny explainers grouped by topic. Spend less time Googling, more time building.
A practical mental model for indexes, with copy‑paste patterns for B‑tree, composite order, covering, partial, and expression indexes—plus when **not** to index.
A fundamental database performance problem: why N+1 happens, how to spot it, and fixes with eager loading/batching in popular ORMs (Django, Rails, Prisma/Sequelize, SQLAlchemy).
A high-level comparison of relational and non-relational databases with common use cases for each.