Re: Feature freeze date for 8.1 - Mailing list pgsql-hackers

From Marc G. Fournier
Subject Re: Feature freeze date for 8.1
Date
Msg-id 20050429132209.D53065@ganymede.hub.org
Whole thread Raw
In response to Re: Feature freeze date for 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Feature freeze date for 8.1
List pgsql-hackers
On Fri, 29 Apr 2005, Tom Lane wrote:

> "Matthew T. O'Connor" <matthew@zeut.net> writes:
>> What to people think about having an optional "maintenance window" so
>> that autovac only takes action during an approved time.  But perhaps
>> just using the vacuum delay settings will be enough.
>
> I'm not sure autovac should go completely catatonic during the day;
> what if someone does an unusual mass deletion, or something?  But
> it does seem pretty reasonable to have a notion of a maintenance
> window where it should be more active than it is at other times.
>
> Maybe what you want is two complete sets of autovac parameters.
> Definitely at least two sets of the vacuum-delay values.

With the introduction of the stats collector, is there not some way of 
extending it so that autovac has more information to work off of?  For 
instance, in my environment, we have clients in every timezone hitting the 
database ... our Japanese clients will be busy at a totally different time 
of day then our East Coast/NA clients, so a 'maintenance window' is near 
impossible to state ...

I know one person was talking about being able to target only those that 
pages that have changes, instead of the whole table ... but some sort of 
"load monitoring" that checks # of active connections and tries to find 
'lulls'?

Basically, everything right now is being keyed to updates to the tables 
themselves, but isn't looking at what the system itself is doing ... if 
I'm doing a massive import of data into a table, the last time I want is a 
VACUUM to cut in and slow down the loading ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Feature freeze date for 8.1
Next
From: Michael Fuhr
Date:
Subject: Re: [GENERAL] Returning a RECORD, not SETOF RECORD