Re: [HACKERS] Buglist - Mailing list pgsql-general

From Manfred Koizar
Subject Re: [HACKERS] Buglist
Date
Msg-id 1hdckvggldmn79t3g3oj9o3mr96lcolkka@4ax.com
Whole thread Raw
In response to Re: [HACKERS] Buglist  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Fri, 22 Aug 2003 10:45:50 -0400, Tom Lane <tgl@sss.pgh.pa.us>
wrote:
>One big question mark in my mind about these "partial vacuum"
>proposals is whether they'd still allow adequate FSM information to be
>maintained.  If VACUUM isn't looking at most of the pages, there's no
>very good way to acquire info about where there's free space.

VACUUM has accurate information about the pages it just visited.  Free
space information for pages not touched by VACUUM is still in the FSM,
unless free space on a page is too low to be interesting.  VACUUM has
to merge these two lists and throw away entries with little free space
if running out of room.

Thus we might end up with new almost full pages in the FSM while there
are pages with more free space lying around that a previous VACUUM
failed to register because there was more free space at that time.

Considering that
 .  FSM is lossy per definitionem
 .  we are targeting at relations with large passive areas
 .  decent VACUUM shall not replace lazy VACUUM
I see no problem here.

Future advice could be: "VACCUM DECENT every hour, VACUUM daily,
VACUUM FULL once a year"  where the first two could be scheduled by
autovacuum ...

Servus
 Manfred

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Collation rules and multi-lingual databases
Next
From: Jan Wieck
Date:
Subject: Re: [HACKERS] Buglist