Simple thing to make pg_autovacuum more useful - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Simple thing to make pg_autovacuum more useful
Date
Msg-id 20080117132050.2855baea@commandprompt.com
Whole thread Raw
Responses Re: Simple thing to make pg_autovacuum more useful
Re: Simple thing to make pg_autovacuum more useful
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

   Table "pg_catalog.pg_autovacuum"     Column      |  Type   | Modifiers 
- ------------------+---------+-----------vacrelid         | oid     | not nullenabled          | boolean | not
nullvac_base_thresh | integer | not nullvac_scale_factor | real    | not nullanl_base_thresh  | integer | not
nullanl_scale_factor| real    | not nullvac_cost_delay   | integer | not nullvac_cost_limit   | integer | not
nullfreeze_min_age  | integer | not nullfreeze_max_age   | integer | not null
 


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?

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 .

In the environments we manage we are using pg_autovacuum alot in order
to manage individual relations.

This is probably too late for 8.3 :( but it should would make our lives
easier.

Sincerely,

Joshua D. Drake

- -- 
The PostgreSQL Company: Since 1997, http://www.commandprompt.com/ 
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
SELECT 'Training', 'Consulting' FROM vendor WHERE name = 'CMD'


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHj8ayATb/zqfZUUQRAjHqAJ0bkc/ik4mZ0JldO6NLLjDKDDvLogCgqCK6
er+zFTHiFO1Fbi/BXzkWCqA=
=7swT
-----END PGP SIGNATURE-----

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Renaming a constraint's index
Next
From: Tom Lane
Date:
Subject: Re: Simple thing to make pg_autovacuum more useful