Mistakes Beginners Make When Working with Databases
Pretty weak, partly terrible advice.<p>- Storing images and blobs: granted, usually not a good idea<p>- Limit/offset will take you a veeeery long way until you have to think about stuff like deep paging. And however you try to tackle that, if the stuff you paginate <i>needs</i> ordering, it's simply a hard problem and not a mistake.<p>- UUID primary keys? Horrible advice that's only applicable at Google/Facebook scale (and even they often use 64bit integer keys for a lot of entities, see Graph API or Adwords). Will wreak havoc on insert and join performance and index size. 64 bit is more than you'll ever need even for the most serious application.<p>- Default values on NULL columns: Okay advice, but a pretty random issue<p>- Going away from normalization is optimization that's mostly premature and regarding the drawbacks should only be done with utmost care and to resolve specific performance problems, not as a general approach.<p>Overall, pretty mediocre advice.