The JK Jung Times
TECHNOLOGY

PostgreSQL vs Firestore: A Practical Decision Framework

I've shipped products with both. Here's the decision framework I actually use, based on data relationships, query patterns, and team size.

By JK Jung, Staff Developer | Los Angeles Bureau | Thursday, April 16, 2026

PostgreSQL vs Firestore: A Practical Decision Framework

I've built production systems on both PostgreSQL and Firestore. I Love Hwarang runs on PostgreSQL. Number Strike Baseball runs on Firestore. Flashcards Alarm uses Firestore. The choice wasn't random — each project had characteristics that made one database clearly better than the other.

I've also migrated between the two, and that experience shaped my framework more than building greenfield. At FSMH, we started with Firestore for speed-to-market but hit a wall when the fundraising analytics required complex aggregations across campaigns, donors, and time periods. The migration to PostgreSQL took six weeks and involved rewriting every data access layer. The lesson was painful but clear: choosing the wrong database isn't fatal, but the migration cost is real — plan for your year-two queries, not just your launch-day queries.

Use Firestore when your data is document-shaped and your access patterns are simple. Flashcard decks, game sessions, user profiles — these are self-contained documents that rarely need joins. Firestore gives you real-time sync,

...

Tags: PostgreSQL, Firestore, Database, Architecture