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: 15594.1200606887@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-hackers by date

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