Re: Bloated tables and why is vacuum full the only option - Mailing list pgsql-performance

From Sergey Konoplev
Subject Re: Bloated tables and why is vacuum full the only option
Date
Msg-id CAL_0b1sdsyjpOv8b1jEQP2NTwMCzeHjCYKhByGQxgZROpyhj7A@mail.gmail.com
Whole thread Raw
In response to Bloated tables and why is vacuum full the only option  (Claudio Freire <klaussfreire@gmail.com>)
Responses Re: Bloated tables and why is vacuum full the only option
List pgsql-performance
On Fri, Feb 7, 2014 at 10:47 AM, Claudio Freire <klaussfreire@gmail.com> wrote:
> What I'm seeing, though, is not that, but bloat proportional to table
> size (always stuck at about 65% bloat). What's weird, is that vacuum
> full does the trick of reducing table size and bloat back to 0%. I
> haven't had time yet to verify whether it goes back to 65% after
> vacuum full (that will take time, maybe a month).

Try pgcompact, it was designed particularily for such cases like yours
https://github.com/grayhemp/pgtoolkit.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray.ru@gmail.com


pgsql-performance by date:

Previous
From: Claudio Freire
Date:
Subject: Re: Bloated tables and why is vacuum full the only option
Next
From: Claudio Freire
Date:
Subject: Re: Bloated tables and why is vacuum full the only option