Ran into a pathological case where a query that usually took 10-20ms would sometimes, semi-randomly, take > 15 minutes (while the corresponding PG process server-side is running at 100% CPU)
Explain showed a dramatic query plan change, which led us towards bad table statistics.