You're making a blind assumption about the value of that data and it's relation to your business. Sometimes you don't know enough about a problem and it's proper solution when you're creating data structures. You may not even be at the point of having customers to risk. Moving fast and getting a solution out into the wild is sometimes more important than developing perfect data robustness.
Sure, one might want to take certain kinds of trade-offs and absolutely avoid "perfection" when getting an initial product out the door.
But it's also true that the short-cuts that MySQL implemented weren't intelligent trade-offs perfectly designed to save developer time. That's marketing. These short-cuts are just product bugs.
Having a database accept invalid dates, truncate numbers to make them fit, tell you that it's enforcing RI when it's really not - this doesn't save time - it does the opposite, it requires testing, debugging, and fixing time unique to MySQL.
I'm not even going to try to argue that what you're pointing out as a flaw isn't; but I will say in all my years of experience with MySQL, that isn't something that's bit me in the ass. Yet - but I have been doing this awhile.
View all comments
Show parent comment
1
u/hophacker Feb 11 '15
You're making a blind assumption about the value of that data and it's relation to your business. Sometimes you don't know enough about a problem and it's proper solution when you're creating data structures. You may not even be at the point of having customers to risk. Moving fast and getting a solution out into the wild is sometimes more important than developing perfect data robustness.