5NF and Database Design

17 points by squadette


hyperpape

The previous piece on why explantions of 4NF are confusing is quite good: https://minimalmodeling.substack.com/p/historically-4nf-explanations-are.

ancienthero

I enjoyed both this and the article on 4NF. I'm not exaggerating when I say every single person I've spoken to that's taken a formal relational design course was left confused as to why 4NF and 5NF are even taught. It truly takes extra effort to make a design that's somehow 3NF but not 4NF or 5NF.

Your article on 4NF touches on the fact that these issues arised in the early days of relational databases when people were less familiar with the concept. These days, I think mere exposure to correctly designed schemas will expunge the possibility of making a non 5NF design from new students' minds. This is one of those scenarios where teaching materials shouldn't be so directly based on the original papers that inspired them.

hwayne

I think you could save the salesperson example by making it what they are allowed to sell. Louis is authorized to sell vacuum cleaners, and he can sell Acme products, so he can sell Acme vacuum cleaners. This is a little more generalizable, I think. For example, Louis could be licensed to drive certain vehicles and assigned to certain routes.

alper

I don't think I've in any way understood what is meant by 5NF after scrolling through this.