When the last vacuum occured? It's necessary to run it now?

Started by Thiago Fernandes Moeschabout 22 years ago2 messages
#1Thiago Fernandes Moesch
thiago@dinamize.com

Hi,

It would be great for maintainance if every object had a timestamp of
the last vaccum run on it. From time to time we're working with several
databases and I can't tell wich one needs a new vacuum.

Another important information would be the rate of disposable data in
every table (like old and delete records) it would help was to
determine if a vacuum is required.

Best regards,
Thiago Fernandes Moesch

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003

#2Shridhar Daithankar
shridhar_daithankar@myrealbox.com
In reply to: Thiago Fernandes Moesch (#1)
Re: When the last vacuum occured? It's necessary to run

Thiago Fernandes Moesch wrote:

It would be great for maintainance if every object had a timestamp of
the last vaccum run on it. From time to time we're working with several
databases and I can't tell wich one needs a new vacuum.

Another important information would be the rate of disposable data in
every table (like old and delete records) it would help was to
determine if a vacuum is required.

You could rather use autovacuum than adding timestamps to fields.

HTH

Shridhar