Scale starts at the database. Avoid the common pitfalls of early-stage architectural debt.