Re: Minimally avoiding Transaction Wraparound in VLDBs

From: David Fetter <david(at)fetter(dot)org>
To: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Cimarron Taylor <cimarron(at)christopherrobin(dot)kolo(dot)net>
Subject: Re: Minimally avoiding Transaction Wraparound in VLDBs
Date: 2005-09-22 06:55:41
Message-ID: 20050922065541.GC20409@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 22, 2005 at 03:52:21PM +1000, Gavin Sherry wrote:
> 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 scan and deletes index tuples
> * when it finds deleted heap tuples. -cim 9/27/89
> */

I have an idea who this might be :)

Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778

Remember to vote!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2005-09-22 06:56:26 Parser bug results in ambiguous errors/behaviour
Previous Message Gavin Sherry 2005-09-22 05:52:21 Re: Minimally avoiding Transaction Wraparound in VLDBs