Re: btree fast-root on VACUUM FULL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: btree fast-root on VACUUM FULL
Date
Msg-id 14234.1057969975@sss.pgh.pa.us
Whole thread Raw
In response to btree fast-root on VACUUM FULL  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> Would it be right to set the fast-root as true root during a VACUUM
> FULL?  This would free all pages between true root and fast root.

Possibly okay, but why bother?  It's hardly likely to free a meaningful
number of pages.  And I think you'd need to invent another category of
WAL record to log the action, so the code overhead to make it happen
isn't trivial.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: btree fast-root on VACUUM FULL
Next
From: "Francisco Figueiredo Jr."
Date:
Subject: Re: Transaction handling in extended query mode and Sync