Re: Settings for aggressive vacuum - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Settings for aggressive vacuum
Date
Msg-id 4B601EC2020000250002EC8F@gw.wicourts.gov
Whole thread Raw
In response to Settings for aggressive vacuum  ("Julien Theulier" <julien@squidsolutions.com>)
List pgsql-admin
"Julien Theulier" <julien@squidsolutions.com> wrote:

> So currently I am doing full vacuums + recollect stats daily at
> the end of the loading process
>
> Is there another way (in particular avoiding the full vacuum &
> save loading time) to not keep or clean these old versions of the
> updated rows. There is a full backup done regularly + procedures
> for recovery. But I am not very familiar with auto vacuum settings
> so I don't know what to choose.

I hope that by "full vacuum" you don't mean VACUUM FULL; that would
bloat indexes over time.  A VACUUM ANALYZE VERBOSE would be a
reasonable approach after the bulk load/delete step, if it completes
in a reasonable time without hurting performance.  Write the output
to disk and review it to see whether your fsm settings are good and
where you have bloat.

If you're already doing this and have some particular problem, could
you elaborate on what the problem is?

-Kevin

pgsql-admin by date:

Previous
From: "Julien Theulier"
Date:
Subject: Settings for aggressive vacuum
Next
From: "dev.pho"
Date:
Subject: Restore database from tablespace