Skip site navigation (1) Skip section navigation (2)

Re: Auto Vacuum

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: Russell Smith <mr-russ(at)pws(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Auto Vacuum
Date: 2004-11-30 02:44:45
Message-ID: 200411300244.iAU2ijP08945@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Matthew T. O'Connor wrote:
> Bruce Momjian wrote:
> 
> >I have added an auto-vacuum TODO item:
> >
> >* Auto-vacuum
> >        o Move into the backend code
> >        o Scan the buffer cache to find free space or use background writer
> >        o Use free-space map information to guide refilling
> >
> 
> I'm not sure what you mean exactly by "Scan the buffer cache to find 
> free space or use background writer", the other two are definitely high 
> priority todo items (at least as far as autovacuum in concerned).
> 

I am thinking we could look for expired tuples when while they are in
the buffer cache or before they are written to disk so we don't have to
a sequential scan to find them.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2004-11-30 02:47:29
Subject: Re: Solution proposal for TODO item "Clients: sequences"
Previous:From: Bruce MomjianDate: 2004-11-30 02:43:39
Subject: Re: Opinions on Usenet ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group