Learn how to diagnose and fix a top cause of slow queries in PostgreSQL. Walk through a concrete scenario that illustrates how sluggish database performance can be caused by missing foreign key indexes and cascading deletes.