When to Vacuum - Mailing list pgsql-general

From Medi Montaseri
Subject When to Vacuum
Date
Msg-id 3E2F193B.4070105@intransa.com
Whole thread Raw
Responses Re: When to Vacuum
List pgsql-general
I posted this on 1/20 but never got delivered....trying again....

I was wondering if I can use any of the pg_stat* related tables to
determine if I
need to vacuum or not.

More specifically, instead of assuming a period (based on one's usage),
if I was
to vacuum more adaptively, I could have a cron job to check certain
statistics table
every 10 minutes (or hour) and if a threashold is reached a vauum be
performed.

If this is possible, please specifiy the condition for vacuum and vacuum
full please.

Thanks


pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: standard schemas for addresses, others?
Next
From: Eric B.Ridge
Date:
Subject: Re: agregates