Check EXPLAIN (ANALYZE, BUFFERS) for sequential scans on large tables, row-estimate mismatches, and external disk sorts. Order composite B-tree columns from equality predicates first to range/sort columns later, and consider partial indexes for hot subsets like active or pending rows.
Follow-up Interview Question · Why might Postgres choose a sequential scan even when an index exists on that column?