01
Fix the query shape, not the hardware
The choice
The work went into how the data is joined and grouped rather than into a bigger machine.
Why
A slow report is almost always a query that asks for more than the answer needs — a count nobody reads, a join evaluated before a filter, a sort over rows that will be discarded.
What it means for you
Two to three minutes became two to five seconds on the same hardware, which means no infrastructure spend and no migration.
