]> granicus.if.org Git - postgresql/commit
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:06 +0000 (03:53 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 24 Sep 2007 03:53:06 +0000 (03:53 +0000)
commit9e439d9f66f7201089a395d41a77563c1efbac64
tree493e4fa4d1f1349c47f5cbda4183200eecae80e2
parent4de99f840b0eaf4facf2e3a1894ca70f4db6128e
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