Re: HOT patch, missing things

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: HOT patch, missing things
Дата
Msg-id 1187102099.4162.20.camel@ebony.site
обсуждение исходный текст
Ответ на Re: HOT patch, missing things  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, 2007-08-14 at 10:10 -0400, Tom Lane wrote:
> "Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> > What if we just track the amount of potentially dead space in the
> > relation
> > (somebody had suggested that earlier in the thread) ? Every committed
> > UPDATE/DELETE and aborted UPDATE/INSERT would increment
> > the dead space. Whenever page fragmentation is repaired, either during
> > normal operation or during vacuum, the dead space is reduced by the
> > amount of reclaimed space. Autovacuum triggers whenever the percentage
> > of dead space increases beyond a threshold.
> 
> Doesn't this design completely fail to take index bloat into account?
> Repairing heap fragmentation does not reduce the need for VACUUM to work
> on the indexes.

I thought of that, but we will only clean up space that is allowable, so
the indexes don't degrade.

--  Simon Riggs EnterpriseDB  http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: HOT patch, missing things
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Testing the async-commit patch