Re: Postgresql backend to perform vacuum automatically

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Postgresql backend to perform vacuum automatically
Дата
Msg-id 200203061744.g26HiT119508@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Postgresql backend to perform vacuum automatically  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> "Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at> writes:
> > I still think, that for best results the vacuums should happen continuously
> > for single pages based on a hook in wal or the buffer manager.
> 
> Not possible unless you are willing to have SELECTs grab much stronger
> locks than they do now (viz, the same kind of lock that VACUUM does).

Remember, you can't recycle the page until all transactions are done
seeing it as active.  I think something periodic will do the job just
fine.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Re: single task postgresql
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: single task postgresql