btree fast-root on VACUUM FULL

Поиск
Список
Период
Сортировка
Искать

btree fast-root on VACUUM FULL

От:
Alvaro Herrera <alvherre@dcc.uchile.cl>
Дата:
Hackers (especially Tom),

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.

(I'm not advocating to do it, nor volunteering; I'm merely wondering).

-- 
Alvaro Herrera ()
"Ninguna manada de bestias tiene una voz tan horrible como la humana" (Orual)

Re: btree fast-root on VACUUM FULL

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Alvaro Herrera  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

FAQ