
Offset Pagination Is Lying to You
LIMIT/OFFSET is in every codebase, and it's quietly wrong. I measured it on 10 million Postgres rows: deep pages took over a second, changin...

LIMIT/OFFSET is in every codebase, and it's quietly wrong. I measured it on 10 million Postgres rows: deep pages took over a second, changin...

Random UUIDs tax every insert. I benchmarked bigint, UUIDv4 and UUIDv7 primary keys on 10 million Postgres rows: load time, index size, WAL ...

Slow queries usually come down to reading too much data or defeating an index. This guide covers 10 fixes: execution plans, sargable predica...

A plain RENAME COLUMN breaks every running server that still uses the old name. Here is how I rename a PostgreSQL column on a live site: add...

Pick a database by workload, not hype. This 2026 guide covers OLTP, analytics, search, time series, vectors, caching and graph, with current...

PostgreSQL 19 arrived on November 19, 2026, adding REPACK (CONCURRENTLY), pg_plan_advice, parallel autovacuum, restart-free logical replicat...

GROUP BY collapses your rows; window functions don't. Learn how OVER, PARTITION BY, ORDER BY and frames work, then use them on everyday prob...

Database deadlocks occur when transactions hold locks that each other needs. Learn how PostgreSQL, MySQL and SQLite detect and break them, r...

PostgreSQL 14 gets its final release on November 12, then no more fixes. I ran a real 14.24 to 18.6 upgrade on a 1.3 GB test database. Seven...