Postgres Table Bloat From Updating Every Row: fillfactor, HOT Updates and the Index That Rules Them Out
In September, my search engine had a job that kept getting slower. Once per PageRank cycle, it wrote the new authority score into every row of the url table, about 150 million rows. Right after a database upgrade, that step took 64.5 minutes. Two weeks later, one run was still going after 13.5 hours.