Anonymised scenario · not a verified client record
Third-party logistics provider
Challenge
The operations dashboard timed out every afternoon once daily shipment volume passed a threshold, and the vendor's suggested fix was a larger server.
Solution
Workload profiling traced 80% of the cost to two views built on scalar functions. We rewrote them as set-based inline table functions, added three covering indexes, and updated statistics maintenance.
Result
The dashboard now returns in under a second at peak volume on the same hardware, and the planned server upgrade was cancelled.
Illustrative figures
42s → 0.6s
Peak query time
$0
Extra hardware
-71%
CPU at peak