A repeatable approach to slow PostgreSQL workloads: measure, inspect, index, and validate.