Re: vacuum, performance, and MVCC

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: vacuum, performance, and MVCC
Дата
Msg-id 1150985358.3309.90.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Re: vacuum, performance, and MVCC  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: vacuum, performance, and MVCC  (Mario Weilguni <mweilguni@sime.com>)
Список pgsql-hackers
> > [...]
> > There has to be a more linear way of handling this scenario.
> 
> So vacuum the table often.

Good advice, except if the table is huge :-)

Here we have for example some tables which are frequently updated but
contain >100 million rows. Vacuuming that takes hours. And the dead row
candidates are the ones which are updated again and again and looked up
frequently...

A good solution would be a new type of vacuum which does not need to do
a full table scan but can clean the pending dead rows without that... I
guess then I could vacuum really frequently those tables.

Cheers,
Csaba.




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

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: vacuum, performance, and MVCC
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem to "current-status information in shared memory" patch