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

Re: Simple thing to make pg_autovacuum more useful

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Simple thing to make pg_autovacuum more useful
Date: 2008-01-17 21:54:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
"Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
> Can we by default set vac_cost_limit and vac_cost_delay have a DEFAULT
> - -1? That way by default it will use the settings in postgresql.conf?

Surely we're not going to force initdb for that.

> Secondly can we set the default for freeze_min_age to 100mil (I think
> that is the default in the docs) and freeize_max_age to the default
> 200000000 .

This is an outright bad idea, because those defaults aren't hard-wired.
Why would you not use -1 if you want a default value?

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2008-01-17 21:58:06
Subject: Re: Renaming a constraint's index
Previous:From: Joshua D. DrakeDate: 2008-01-17 21:20:50
Subject: Simple thing to make pg_autovacuum more useful

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