Which database habits look harmless and turn into incidents?
You will learn: fifteen placement and modeling mistakes, the symptom each one causes, why it happens inside the engine, and what to do instead.
Most of these work fine in development and fail only under real traffic or real data size. That is why they survive code review. Where a notebook measured the effect, the card links to it.
A teammate wants to store each product's tag ids as a JSON array in the product row, to avoid a join table. When is that fine, and when does it hurt?
Write your answer down first. Then open mine.
Fine when: the tags are always read and written together with the product, nobody asks "which products have tag 42", and only one process edits them.
It hurts when: you need that reverse query. It needs a GIN index in PostgreSQL or a multi-valued index in MySQL 8.0, and it is still harder to get right than a join table. Nothing stops a deleted tag id from staying in the array. And two people adding a tag at the same time read the array, change it and write it back, so one change is lost.
What I would do: a join table, product_tags (product_id, tag_id) with a primary key on both. It is boring, and it answers every question.
The same mechanism, caches and memory, concurrent writes and isolation, events across services, elsewhere on the site: in real incidents, in measurements, and in designs.
Which database does my application need? What kind of application data goes in which database, and why, as design docs, plus the anti-patterns and the decisions behind them.