• Alvaro Herrera's avatar
    Reduce the size of memory allocations by lazy vacuum when processing a small · 58536626
    Alvaro Herrera authored
    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: ----------------------------------------------------------------------
    58536626
vacuumlazy.c 37 KB