Re: Some thoughts about i/o priorities and throttling vacuum - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Re: Some thoughts about i/o priorities and throttling vacuum
Date
Msg-id 3F8FF89A.9050706@persistent.co.in
Whole thread Raw
In response to Re: Some thoughts about i/o priorities and throttling vacuum  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: Some thoughts about i/o priorities and throttling vacuum
List pgsql-hackers
Alvaro Herrera wrote:

> On Fri, Oct 17, 2003 at 07:04:45PM +0530, Shridhar Daithankar wrote:
> 
> 
>>And if pg_autovacuum is running along with postmaster all the time, with 
>>aggressive polling like 5 sec, the database should not accumulate any dead 
>>tuples nor it would suffer xid wraparound as there are vacuum happening 
>>constantly.
> 
> 
> The database can suffer XID wraparound anyway if there's at least one
> table without updates, because the autovacuum daemon will never vacuum
> it (correct me if I'm wrong).
> 

If a table is never updated and hence not vacuumed at all, why would it be 
involved in a transaction that would have xid wrap around?

pg_autovacuum takes care of insert/updates/deletes. If a table never 
participates in above three and hence escape from pg_autovauum, it also escapes 
from xid wraparound, isn't it?
 Shridhar



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Some thoughts about i/o priorities and throttling vacuum
Next
From: Alvaro Herrera
Date:
Subject: Re: Some thoughts about i/o priorities and throttling vacuum