Postgresql Automatic vacuum

From: "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Postgresql Automatic vacuum
Date: 2002-09-23 13:43:44
Message-ID: 3D8F67E8.7500.4E0E180@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hello All,

I have written a small daemon that can automatically vacuum PostgreSQL
database, depending upon activity per table.

It sits on top of postgres statistics collector. The postgres installation
should have per row statistics collection enabled.

Features are,

* Vacuuming based on activity on the table
* Per table vacuum. So only heavily updated tables are vacuumed.
* multiple databases supported
* Performs 'vacuum analyze' only, so it will not block the database

The project location is
http://gborg.postgresql.org/project/pgavd/projdisplay.php

Let me know for bugs/improvements and comments..

I am sure real world postgres installations has some sort of scripts doing
similar thing. This is an attempt to provide a generic interface to periodic
vacuum.

Bye
Shridhar

--
The Abrams' Principle: The shortest distance between two points is off the
wall.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roberto Mello 2002-09-23 13:47:56 Re: [GENERAL] Monitoring a Query
Previous Message Aaron Held 2002-09-23 13:24:38 Re: Monitoring a Query

Browse pgsql-hackers by date

  From Date Subject
Next Message Roberto Mello 2002-09-23 13:47:56 Re: [GENERAL] Monitoring a Query
Previous Message Tom Lane 2002-09-23 13:41:40 Re: DROP COLUMN misbehaviour with multiple inheritance