I committed the changes to FSM truncation yesterday, that helps with the
truncation of the visibility map as well. Attached is an updated
visibility map patch.
There's two open issues:
1. The bits in the visibility map are set in the 1st phase of lazy
vacuum. That works, but it means that after a delete or update, it takes
two vacuums until the bit in the visibility map is set. The first vacuum
removes the dead tuple, and only the second sees that there's no dead
tuples and sets the bit.
2. Should modify the output of VACUUM VERBOSE to say how many pages were
actually scanned. What other information is relevant, or is no longer
relevant, with partial vacuums.
In response to
pgsql-hackers by date
|Next:||From: Fujii Masao||Date: 2008-11-20 13:41:59|
|Subject: How should pg_standby get over the gap of timeline?|
|Previous:||From: Magnus Hagander||Date: 2008-11-20 12:24:24|
|Subject: Autoconf, libpq and replacement function|