Re: Postgresql backend to perform vacuum automatically - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Postgresql backend to perform vacuum automatically
Date
Msg-id 200203061744.g26HiT119508@candle.pha.pa.us
Whole thread Raw
In response to Re: Postgresql backend to perform vacuum automatically  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Greg Copeland
Date:
Subject: Re: single task postgresql
Next
From: Greg Copeland
Date:
Subject: Re: single task postgresql