Türker Yıldırım
4.2 seconds on 60,000 rows. Following EXPLAIN from a full table scan to a covering index, and why the composite index that existed was never used.
Five filters over 30,000 variations, and a request that never returns. Replacing EAV meta joins with a denormalised index table kept in sync by product hooks.
The cache made it fast and made it wrong. Key design, invalidation on write rather than on a timer, and why KEYS is the command that takes the…