Databases
Data modeling and query behavior — where problems originate.
What Databases covers
This category covers data modeling, indexes, transactions and choosing the right database — the source of most performance and correctness problems.
What this category covers
- PostgreSQL vs. MySQL
- When NoSQL — and when not
- Understanding indexes
- Anti-pattern: the N+1 query problem
Solid answers in this field.
In-depth, citable documents — every recommendation with its trade-off, its cost and the case in which we decide differently.
Data Modeling That Lasts
The data model outlives framework, interface and database: why you model the domain, design for change, and why a wrong model is so expensive.
PostgreSQL or MySQL for Long-Lived Systems
Both databases are mature and will carry a system for years. What they share, where they differ — decided by the shape of the data and the team, not by a ranking.
Zero-Downtime Database Migrations
How to evolve production databases without downtime: expand/contract, backward-compatible schema evolution, deploy sequence, backfills, rollback.
Lessons learned in this field.
Mistakes and what they taught us — anonymized, without drama. The mistake is the teacher.
New articles in this category are published on an ongoing basis. You can already find the core terms in the glossary.
Go to the glossaryRelated topics.
Guides, decisions, services and case studies connected to this page.
Technologies
Architecture decisions
A concrete problem in this field?
We don't just solve it on paper. Talk to the engineers who would build it.
