Databases explained for beginners
A spreadsheet stops answering questions once it grows. A database does not. Here is what tables, rows, keys and queries mean, in plain language, with...
Braintem guides
Everything we have written about databases, in plain language.
A spreadsheet stops answering questions once it grows. A database does not. Here is what tables, rows, keys and queries mean, in plain language, with...
Most people asking this have already decided and want permission. Here is the honest test: if your data has relationships or money in it, start with S...
My first order table had 34 columns and a notes field holding everything I forgot. These are the four tables I would build instead, and the rules that...
A page timing out at 2am is rarely the host's fault. One query was scanning 1.2 million rows for 20 results. Here is the order to check things before...
An index turns a million row scan into a few jumps. It can also slow every insert. Here is when to add one, when not to, and how to prove it worked.
A green success message is not a backup. Mine was a 40MB file for a 400MB database, and a client lost a month of orders. Here is how to do it properly...
You will not write a red black tree. You will count things with a dictionary and remove duplicates with a set. Here is the small set that fixes most s...
A marketplace has three parties in every order, and most first schemas only hold one. Sellers, variants, price snapshots and payouts, in the order tha...
Pick one course, finish it, and build the thing. That is the whole strategy.