Database schemas that age well.
The data model is the one decision that gets harder to change every single week. Application code can be rewritten in an afternoon; a schema with three years of production data in it cannot.
Six things,
in this order.
Tuning a query is worth an afternoon. Fixing the model underneath it is worth a year, which is why we start at the schema and work outwards.
Schema Design
Normalized where correctness matters, denormalized where reads demand it, with constraints the database enforces, so the application can't skip them.
Query & Index Tuning
Finding the handful of queries responsible for most of the load, and the missing index behind the page everyone says is slow.
Migrations
Schema changes that run against a live table without locking it, and roll back cleanly when the deploy behind them is reverted.
SQL or NoSQL
Most products need a relational core; some workloads genuinely don't, and we'll say which yours is.
Replication & HA
Read replicas, failover, and the replication lag your application has to tolerate, all decided before it surfaces as a bug report.
Backup & Recovery
Point-in-time recovery, and a restore that has actually been rehearsed. A backup nobody has restored may not work when you need it.
Cheap now.
Expensive later.
Every one of these is a reasonable shortcut on day one and a serious project by year three. The cost of fixing them only ever goes up.
Replication, failover, and backup all depend on what's underneath them: cloud application development. Reporting workloads belong somewhere separate: data warehouse and BI.
Get the model right.
Whether it's a new product or one already carrying years of data, send us the schema and the queries that hurt. We'll come back with what to change and what it costs to change it now versus later.