Re: Autovacuum Question

From: "Mark Liberman" <mliberman(at)mixedsignals(dot)com>
To: "Chris Hoover" <revoohc(at)gmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Autovacuum Question
Date: 2006-05-16 17:30:26
Message-ID: 9D938282F8C6EE43B748B910386DE93E0138B449@srvgpimail1.GPI.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>Does this mean that each run of autovacuum will vacuum/analyze all tables
>that need work in the database that autovacuum is looking at?

Yes, it will do all tables that satisfy the criteria.

>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?

If, you have it set to 60 seconds, then yes. It hits one db each minute. Actually, to be more clear, it sleeps 1 minute between each check. So, if, on average, it takes 60 seconds to perform the necessary vacuum/analyzes, then it there will be, on average, 2 minutes between each db, or 400 minutes to get through all 200 dbs.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dias Costa 2006-05-16 17:50:41 How can i hide the unnecessary schemas from developers
Previous Message Ian Westmacott 2006-05-16 17:27:09 Re: Autovacuum Question