Optimizing Revenues and Cutting Costs with Improved Database Performance