I typically go for 3rd normal form, and selectively denoralize where it has true performance value.
“Normalize ’til it hurts, denormalize ’til it works.”
Re:Migrating to Postgres
by rrr_oh_man on Thursday May 15, 2025 @12:36AM
(#43991886)
Just saying this feels like it elevates you above 80% of people who work with databases.
Re:Migrating to Postgres
by williamdclt on Thursday May 15, 2025 @05:29AM
(#43993281)
> materialized views
how though? Postgres doesn't support auto-refreshing materialized views when the underlying data changes (with good reasons, it's a really hard problem)
with a little pain, if I had to pick an extreme, I'd pick extreme normalization with materialized views that are queried (e.g. no joins), rather than joining all of the time.