Musk doesn't understand database design (or the existence of PRIMARY KEY ()
), surprise.
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Maybe Musk needs to learn about data normalization and natural keys.
I'm curious what the actual data looks like. I've spent quite a bit of time auditing large data systems.
I would expect these databases to be largely denormalized with very wide tables, I would expect them to favour natural keys like a SSNs, and built around per department use cases.
I would not expect them to be highly normalized because then when you need something from another department you need them to ensure consistency.
These systems probably have like 50 years of legacy code or more in them too.
SSNs are literally just handed out to hospitals and social security offices in batches and given out in sequential order. They were specifically and intentionally designed to be a terrible system of ID numbers because people actually used to care about their privacy. There are countless people who've gone their whole lives using the wrong social security number and gotten their benefits just fine, because unlike everyone else in this dumpster fire of a country the social security office has never been stupid enough to rely on just a single number.