Reduce the size of memory allocations by lazy vacuum when processing a small
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 24 Sep 2007 03:53:12 +0000 (03:53 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 24 Sep 2007 03:53:12 +0000 (03:53 +0000)
commit4290692ce37cfca4aea1d38e138da4ffd874bc97
treeee7afd87db002a7ca79ec06bd852102b065c7d1e
parent823d5b413965205cf08cbb669b8361fb88bdd0ee
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: ----------------------------------------------------------------------
src/backend/commands/vacuumlazy.c