Re: When does VACUUM FULL not clean out all deleted data? - Mailing list pgsql-admin

From James Cloos
Subject Re: When does VACUUM FULL not clean out all deleted data?
Date
Msg-id m34pdteh7k.fsf@lugabout.jhcloos.org
Whole thread Raw
In response to Re: When does VACUUM FULL not clean out all deleted data?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: When does VACUUM FULL not clean out all deleted data?  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: When does VACUUM FULL not clean out all deleted data?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-admin
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

>> Why was the db using that extra five plus gigs?

Tom> Smells like a hadn't-been-vacuuming-often-enough problem.

Sorry, I forgot to mention:  autovacuum was enabled and I also ran
this script every night via cron:

#!/bin/bash
FULL=''
test $(date +%w) -eq 0 && FULL='FULL'
exec psql -U dbm -c "VACUUM ${FULL} VERBOSE ANALYZE" dbm

The app at least felt faster with the daily vacuum, even though
autovacuum was running.  I don't have a good explanation for that,
either.

-JimC
--
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

pgsql-admin by date:

Previous
From: Popovici Alexandru
Date:
Subject: invalid byte sequence for encoding "UNICODE":0xa1
Next
From: "Suresh Gupta VG"
Date:
Subject: Re: Need some info on Postgresql