Robert HaasSr. Staff Software Engineer @ Databricks, PostgreSQL Developer and Committer

Projects › Query Performance

Settings

Page Costs

Missing index

Cost for @@ doesn’t reflect it’s true cost

work_mem too low

Statistics Target Too Low

Statistics Target Too High

n_distinct estimates aren’t accurate on large tables

vm.zone_reclaim_mode = 1

out of date statistics cause bad estimates

TOAST decompression is slow