Reduce the size of memory allocations by lazy vacuum when processing a small
authorAlvaro Herrera <[email protected]>
Mon, 24 Sep 2007 03:53:02 +0000 (03:53 +0000)
committerAlvaro Herrera <[email protected]>
Mon, 24 Sep 2007 03:53:02 +0000 (03:53 +0000)
commit3a069363500925dfb70769a4c4be49c2b17af9c2
tree402adc35b18beb3d0bde771a7ec902cad6a23bcc
parent20f124c94e082013387dec016c153a282f22a798
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