When a Postgres index made the query slower

A composite index looked like the obvious fix. It made p99 four times worse for a week before I noticed.

April 12, 2025 · 3 min · 605 words · mn