When to Vacuum

From: Medi Montaseri <medi(dot)montaseri(at)intransa(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: When to Vacuum
Date: 2003-01-22 22:20:43
Message-ID: 3E2F193B.4070105@intransa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-01-22 22:37:53 Re: Re agregates
Previous Message Dennis Gearon 2003-01-22 22:18:47 standard schemas for addresses, others?