Skip to content

Category

Database Applications

Database design and performance: designing tables before the backend, PostgreSQL query optimization, indexing and keeping business data safe.

How to Design Database Tables Before Writing Your Backend

10/19/2026

How to Design Database Tables Before Writing Your Backend

Your tables will outlive your controllers and your frontend. Learn a practical way to design database tables before writing backend code: start from entities and queries, then add keys, constraints, the right types and indexes.

By Muhammad Wilayat Shah

Read
How to Optimize a Slow PostgreSQL Query Step by Step

10/15/2026

How to Optimize a Slow PostgreSQL Query Step by Step

A slow PostgreSQL query is rarely fixed by guessing. Learn a repeatable process: measure with pg_stat_statements, read EXPLAIN ANALYZE, fix row estimates, add the right index, rewrite the query, and verify the gain.

By Muhammad Wilayat Shah

Read

Page 2 of 2