Why SQL `LIKE "%wireless%"` melts your primary database
Users type `"wireless headphones"` in your search bar. Running `SELECT * FROM products WHERE description LIKE "%wireless%"` on 5 million rows **cannot use a B-Tree index** because of the leading `%` wildcard.
Every single search triggers a **full table scan**, offers **zero typo tolerance**, and has **no relevance ranking**—pushing search p95 past **2,200 ms** while starving checkout queries on the same database!
watch:Leading-wildcard SQL `LIKE "%word%"` forces O(N) string scans across every row and cannot rank relevance, handle typos, or stem plurals.