diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-09-24 03:52:55 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-09-24 03:52:55 +0000 |
commit | 585366263014936015298cc5f96fef80171709bd (patch) | |
tree | 659383f54ea53c9b5064b566902700f805b52430 /src/bin/scripts/common.c | |
parent | 48f7e6439568e5d665f622e2973becc50a86b64a (diff) | |
download | postgresql-585366263014936015298cc5f96fef80171709bd.tar.gz postgresql-585366263014936015298cc5f96fef80171709bd.zip |
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: ----------------------------------------------------------------------
Diffstat (limited to 'src/bin/scripts/common.c')
0 files changed, 0 insertions, 0 deletions