Re: Minimally avoiding Transaction Wraparound in VLDBs

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: Minimally avoiding Transaction Wraparound in VLDBs
Дата
Msg-id Pine.LNX.4.58.0509221550570.24326@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: Minimally avoiding Transaction Wraparound in VLDBs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Minimally avoiding Transaction Wraparound in VLDBs  (David Fetter <david@fetter.org>)
Список pgsql-hackers
On Wed, 31 Aug 2005, Tom Lane wrote:

> BTW ... the original Berkeley papers on Postgres make frequent reference
> to a "vacuum daemon", which seems to be essentially what we're trying to
> build with autovacuum.  Does anyone know if the Berkeley implementation
> ever actually had auto vacuuming, or was that all handwaving?  If it did
> exist, why was it removed?

Well, I was just poking around the executor and noticed this in
ExecDelete():
   /*    * Note: Normally one would think that we have to delete index tuples    * associated with the heap tuple now..
  *    * ... but in POSTGRES, we have no need to do this because the vacuum    * daemon automatically opens an index
scanand deletes index tuples    * when it finds deleted heap tuples. -cim 9/27/89    */
 

So, it seems they must have actually written the vacuum daemon.

Gavin


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: feature proposal ...
Следующее
От: David Fetter
Дата:
Сообщение: Re: Minimally avoiding Transaction Wraparound in VLDBs