Postgres is thirty years old. I've been working on it for 22 of those years, and we're all still doing the same bad things over and over. Here are five mistakes, the query that detects each one, and the fix.

Netflix developed Quasar, an internal tool that combines semantic code indexing and API comparisons to identify downstream consumers affected by library changes. Using SCIP, Amazon S3, and Athena, it traces API references across…
Managing MySQL replication filters in a live production environment doesn’t have to mean rebuilding your replicas from scratch. In this post, we’ll walk through how to safely exclude specific tables from replication and cleanly re-sync and…
PostgreSQL divides large tables into 1GB segment files, but the server has no authoritative record of how many segments exist. (I consult on PostgreSQL through PGX Inc..)