]> git.ipfire.org Git - thirdparty/postgresql.git/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:02 +0000 (03:53 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 24 Sep 2007 03:53:02 +0000 (03:53 +0000)
commit189f9a5bb2c7490c98e7a84ade9e20c85e9003e2
treee4bb4dceb00108ab5e86592cc991ed7170e4976e
parenta4f72d59405f22a851d827a7a8d031863c3b2be3
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