Only skip pages marked as clean in the visibility map, if the last 32
commitc944541292e9a43f1e1dbfdbb174263c1ab08c60
authorheikki <heikki>
Thu, 22 Jan 2009 19:25:00 +0000 (22 19:25 +0000)
committerheikki <heikki>
Thu, 22 Jan 2009 19:25:00 +0000 (22 19:25 +0000)
treef0c51f142e41cd8b01baba2620740735f3748225
parenta9b88cabeffab22dc19809e3af5009761aae2489
Only skip pages marked as clean in the visibility map, if the last 32
pages were marked as clean as well. The idea is to avoid defeating OS
readahead by skipping a page here and there, and also makes it less likely
that we miss an opportunity to advance relfrozenxid, for the sake of only
a few skipped pages.
src/backend/commands/vacuumlazy.c