From: | "Chris Hoover" <revoohc(at)gmail(dot)com> |
---|---|
To: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Autovacuum Question |
Date: | 2006-05-16 17:27:07 |
Message-ID: | 1d219a6f0605161027y190c9ba2y781b048ea5c647d9@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
PostgreSQL 8.1.3
Question on autovacuum.
autovacuum_naptime (integer)
Specifies the delay between activity rounds for the autovacuum subprocess.
In each round the subprocess examines one database and issues VACUUM and
ANALYZE commands as needed for tables in that database. The delay is
measured in seconds, and the default is 60. This option can be set at server
start or in the postgresql.conf file.
Does this mean that each run of autovacuum will vacuum/analyze all tables
that need work in the database that autovacuum is looking at?
The reason I'm asking is that I have ~172 non system tables in each
database, so if autovacuum only does one table per run, I don't think it
will ever get caught up (since there are almost 35k tables in total).
Also, with over 200 databases, does this mean that a database will only get
checked once about every 3.5 hours, or does autovacuum run on the database
that needs the vacuuming the most?
Thanks,
Chris
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Westmacott | 2006-05-16 17:27:09 | Re: Autovacuum Question |
Previous Message | Mark Holm | 2006-05-16 16:53:54 | PGSQL Database Recovery in Portland Oregon Area needed ASAP |