Re: vacuumdb exclude tables option?

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Joel Stevenson <joelstevenson(at)mac(dot)com>
Cc: adey <adey11(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: vacuumdb exclude tables option?
Date: 2006-08-10 15:26:39
Message-ID: 1155223599.20252.140.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 2006-08-10 at 09:44, Joel Stevenson wrote:
> Thanks for the reply. I'm still playing around a bit with my
> autovacuum settings and the manual vaccum runs I'm making are part of
> an effort to better understand the just what sort of settings I need
> - I'm running vacuumdb with verbose output, etc.
>
> Since I know that these archive tables are append only tables I was
> just hoping there was a way to skip them more easily and it seemed
> like it might be something that was not unique to my situation.

Something you can look at doing it running autovacuum with different
settings depending on the time of day. That way, with more aggresive
settings it will trigger on those less used tables during off hours and
during the day (hopefully) leave them alone all the time.

Note that autovacuum also runs analyzes on your tables as needed as
well, so even if those archive tables don't need vacuuming, they might
well need analyzing. You can adjust the settings for those things
separately, btw.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sharma;G.S. 2006-08-10 15:49:00 Postgres Max JDBC Connection Allowed
Previous Message Joel Stevenson 2006-08-10 14:44:42 Re: vacuumdb exclude tables option?