Re: Why do we let autovacuum give up? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Why do we let autovacuum give up?
Date
Msg-id 20140124032251.GX10723@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: Why do we let autovacuum give up?  (Claudio Freire <klaussfreire@gmail.com>)
Responses Re: Why do we let autovacuum give up?
List pgsql-hackers
Claudio Freire escribió:

> If you ask me, I'd like autovac to know when not to run (or rather
> wait a bit, not forever), perhaps by checking load factors or some
> other tell-tale of an already-saturated I/O system.

We had a proposed design to tell autovac when not to run (or rather,
when to switch settings very high so that in practice it'd never run).
At some point somebody said "but we can just change autovacuum=off in
postgresql.conf via crontab when the high load period starts, and turn
it back on afterwards" --- and that was the end of it.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [v9.4] row level security
Next
From: Tom Lane
Date:
Subject: Re: Why do we let autovacuum give up?