Decision Guides

SQLite vs Postgres for Side Projects

SQLite is not just for prototypes. Postgres is not always necessary. Here's how I choose.

Choose SQLiteChoose Postgres
Single-user or low concurrencyMany concurrent writers
Local-first or edge deployComplex queries, JSON ops
Zero hosting costNeed row-level security
Read-heavy workloadsTeam already on Supabase/RDS

I start with SQLite for MVPs. I migrate to Postgres when I need concurrent writes or hosted auth integration (Supabase).