In a roundabout way this article captures well why I don't really like thinking in terms of "normal forms", especially as a numbered list like that. The key insights are really 1. Avoid redundancy and 2. This may involve synthesizing relationships that don't immediately obviously exist from a human perspective. Both of those can be expanded on at quite some length, but I never found much value in the supposedly-bless…
5NF and Database Design
21–30 of 86 posts
Re: 5NF and Database Design
#22Earlier quoted context omitted.
Typically it's better to take normalized data and denormalize for your use case vs. not normalize in the first place. Really depends on your needs
Over time I’ve developed a philosophy of starting roughly around 3NF and adjusting as the project evolves. Usually this means some parts of the db get demoralize and some get further normalized
I largely agree with your practical approach, but try and keep the data excited about the process, sell the "new use cases for the same data!" angle :)
Re: 5NF and Database Design
#23Since I had bad memory, I asked the ai to make me a mnemonic:
* Every
* Table
* Needs
* Full-keys (in its joins)
Re: 5NF and Database Design
#24Earlier quoted context omitted.
So which normal form do they argue for and against? And what UUID version wins the argument?
Not OP, but UUID v7 is what you want for most database workloads (other than something like Spanner)
Re: 5NF and Database Design
#25In a roundabout way this article captures well why I don't really like thinking in terms of "normal forms", especially as a numbered list like that. The key insights are really 1. Avoid redundancy and 2. This may involve synthesizing relationships that don't immediately obviously exist from a human perspective. Both of those can be expanded on at quite some length, but I never found much value in the supposedly-bless…
Why shouldn’t we care about layer 2? You can do really fun and interesting things at the MAC layer.
To stay on the main topic, same for the "normalization forms". Do what your database needs.
The concepts are just attractive nuisances. They are more likely to hurt someone than to help them.
Re: 5NF and Database Design
#26Re: 5NF and Database Design
#27Earlier quoted context omitted.
So which normal form do they argue for and against? And what UUID version wins the argument?
Explaining jokes is poor form.
Re: 5NF and Database Design
#28Re: 5NF and Database Design
#29Re: 5NF and Database Design
#30Earlier quoted context omitted.
I use the null uuid as primary key - never had any DB scaling issues.
Yeah, no NULL is ever equal to any other NULL, so they are basically unique.