I design schemas that scale and tune the queries that are quietly slowing your product down, before your users feel it.
Database Design & Optimization covers the full lifecycle of your data layer: schema and data modeling, indexing strategy, query tuning, and safe migrations across PostgreSQL, MySQL, and MongoDB. Whether you are starting a greenfield product and want the foundation right, or you have inherited a database that buckles under load, I work at the level where most performance problems actually live. The goal is simple: a data model your team can reason about and queries that stay fast as your row counts climb.
Most of the slow products I'm called in to fix don't have a code problem; they have a database problem. A missing composite index turns a 5ms lookup into a 5-second table scan. An N+1 pattern multiplies under traffic. A schema that made sense at 10,000 rows falls apart at 10 million. I find the slow query before your users do, by reading EXPLAIN plans instead of guessing, profiling real workloads, and fixing root causes rather than throwing more hardware at the symptom.
Eighteen years and 17,000+ Upwork hours change the outcome because I've watched these decisions play out over years, not sprints. I know which indexes earn their write cost and which just bloat your tables, when denormalization is the right call and when it becomes a liability, and how to run a zero-downtime migration on a table millions of users depend on. That judgment is the difference between a database that's a quiet asset and one that becomes the bottleneck every roadmap conversation has to route around.