Reduce the size of memory allocations by lazy vacuum when processing a small

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 189f9a5bb2c7490c98e7a84ade9e20c85e9003e2
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2007-09-24T03:53:02Z
Releases: 8.2.6
Reduce the size of memory allocations by lazy vacuum when processing a small
table, by allocating just enough for a hardcoded number of dead tuples per
page.  The current estimate is 200 dead tuples per page.

Per reports from Jeff Amiel, Erik Jones and Marko Kreen, and subsequent
discussion.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	commands/vacuumlazy.c
CVS: ----------------------------------------------------------------------

Files

PathChange+/−
src/backend/commands/vacuumlazy.c modified +18 −5