Re: Pre-allocated free space for row

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pre-allocated free space for row
Дата
Msg-id 1722.1125498795@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Pre-allocated free space for row  (Hannu Krosing <hannu@skype.net>)
Ответы Re: Pre-allocated free space for row  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
Hannu Krosing <hannu@skype.net> writes:
> On K, 2005-08-31 at 16:50 +0900, Satoshi Nagayasu wrote:
>> VACUUM generates a huge load because it repaires all pages
>> on the table file.
>> 
>> I think (more light-weight) repairing on a single page
>> is needed to maintain free space in the specific page.

> There have been plans floating around for adding a more lightweight
> vacuum, which uses something similar to FSM to keep track of pages which
> need vacuuming. And possibly integreated with background writer to make
> effective use of I/O resources.

> I guess it could be used for this case of "cheap page cleanups" as well.

Pretty much all of these ideas fall down when you remember that you have
to fix indexes too.  There's no such thing as a "cheap page cleanup",
except maybe in a table with no indexes.  Cleaning out the indexes
efficiently requires a certain amount of batch processing, which leads
straight back to VACUUM.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Call for 7.5 feature completion
Следующее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: problems installing pgsql