Re: disk space usage enlarging despite vacuuming - Mailing list pgsql-general

From Doug McNaught
Subject Re: disk space usage enlarging despite vacuuming
Date
Msg-id m3r86xa7y7.fsf@varsoon.wireboard.com
Whole thread Raw
In response to disk space usage enlarging despite vacuuming  (Tzvetan Tzankov <ceco@noxis.net>)
List pgsql-general
Tzvetan Tzankov <ceco@noxis.net> writes:

> hallo,
>
> I use debian package postgresql 7.3.2r1-2, it is set to vacuum every 5
> hours and once weekly (sunday) vacuum -f, aditionally there are some
> session tables which vacuum at 5 minutes, dispite this the disk usage
> enlarges with 300-400MB for about 2 days and in sundey with the full
> vacuum very few MB-s are recovered.

It's probably index growth, which isn't fixed by VACUUM.  Do a REINDEX
after the weekly VACUUM FULL and you should see that space reclaimed.
7.4 should fix this IIRC.

-Doug

pgsql-general by date:

Previous
From: Gianni Mariani
Date:
Subject: Re: context in plpgsql functions
Next
From: Doug McNaught
Date:
Subject: Re: Relation "pg_relcheck" does not exist