← All projects

Query Tuning at Scale

A close look at how the database was planning our busiest queries paid for itself many times over.

Role
Staff Software Engineer, Caffeine
Built with
SQL
−94%cloud database costs — about $336,000 a year

The problem

Cloud database costs were far higher than they needed to be.

What I did

I traced the cost back to inefficient query-planner behavior and optimized the high-frequency SQL queries responsible.

What came of it

Cloud database costs dropped by over 94%, about $336,000 in annualized savings.