One missing index turned a 40ms query into a 12-second one
The query had run fine for two years. It joined orders to customers on a foreign key, filtered by date range, and came back in under 40 milliseconds every time anyone checked it, which nobody had reas
pureengine.hashnode.dev4 min read