Scenario
People say "the heap" and "the index" as if they are different things — because they are. Knowing the split clarifies how lookups work. Diagnose it Compare heap and index sizes: SELECT pg_size_pretty(pg_relation_size('orders')) AS heap, pg_size_pretty(pg_indexes_size('orders'))…
Investigation Path
Career Impact
This scenario builds production judgment and operational confidence under pressure.