News for hackers. Stuff that matters.
Re:Migrating to Postgres by reissbaker on Wednesday May 14, 2025 @08:13PM (#43990535)
Eh, I've run applications on RDBMSes with multi-billion-row tables, and I've never found normalization/denormalization to be particularly impactful on performance except for in a few rare cases. The biggest impact came from sensible indexing + query patterns. Normalization vs denormalization had a big impact on convenience, though (not always favoring one way or the other!).

But I'm no fan of Prisma either. Drizzle has its own pain points (i.e. sequential numbers for its auto-generated migrations means annoying merge conflicts if multiple people iterate on the schema at the same time), but it's much better than Prisma at sticking close to the metal and allowing good query performance and table design.

Re:Migrating to Postgres by rrr_oh_man on Thursday May 15, 2025 @12:40AM (#43991910)
> I've never found normalization/denormalization to be particularly impactful on performance

Really?

Re:Migrating to Postgres by reissbaker on Thursday May 15, 2025 @07:03PM (#44000235)
Yes, really. Indexing + query patterns are much more important.