Re: First steps with 8.3 and autovacuum launcher - Mailing list pgsql-hackers

From Tom Lane
Subject Re: First steps with 8.3 and autovacuum launcher
Date
Msg-id 20618.1191508996@sss.pgh.pa.us
Whole thread Raw
In response to Re: First steps with 8.3 and autovacuum launcher  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: First steps with 8.3 and autovacuum launcher
List pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> I'd also like to see vacuum_delay_point() do a test against
> CountActiveBackends() to see if anything else is running. If there all
> non-autovac processes are idle or waiting, then we should skip the delay
> point, this time only. That way a VACUUM can go at full speed on an idle
> system and slow down when people get active again. It will also help
> when people issue a DDL statement against a table that is currently
> being vacuumed. I've got a patch worked out to do this.

This is exceedingly Postgres-centric thinking.  The lack of any other
backends does not mean that the system owner wants Postgres to take over
the machine.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Connection Pools and DISCARD ALL
Next
From: Michael Meskes
Date:
Subject: Re: Not *quite* there on ecpg fixes