SQL Indexes, Query Plans, and Schema Design That Scales
SQL indexes are the single biggest lever you have for making a slow database query fast, and in this post you will watch one index turn a query from 72 milliseconds into 0.04 milliseconds on a one million row table. You will also learn to read EXPLAIN QUERY PLAN line by line, design a schema that stays fast as it grows, keep your data honest with transactions, and kill the N+1 query problem that quietly wrecks so many apps. “An ... Read More
