Re: Full Vacuum/Reindex vs autovacuum - Mailing list pgsql-general

From Leif Biberg Kristensen
Subject Re: Full Vacuum/Reindex vs autovacuum
Date
Msg-id 201011082039.51599.leif@solumslekt.org
Whole thread Raw
In response to Full Vacuum/Reindex vs autovacuum  (Jason Long <mailing.lists@octgsoftware.com>)
List pgsql-general
On Monday 8. November 2010 20.06.13 Jason Long wrote:
> I currently have Postgres 9.0 install after an upgrade.  My database is
> relatively small, but complex.  The dump is about 90MB.
>
> Every night when there is no activity I do a full vacuum, a reindex, and
> then dump a nightly backup.
>
> Is this optimal with regards to performance?  autovacuum is set to the
> default.

I've got a database about the same size order (65 MB on disk, 5 MB dump.tgz)
and I never bother with neither full vacuum nor reindexing. I run the default
autovacuum, and if the db becomes bloated for some reason, I just do a
dump/drop/reload cycle. It's done in a few seconds.

regards,
Leif B. Kristensen
http://solumslekt.org/

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: ERROR: Out of memory - when connecting to database
Next
From: Ivan Sergio Borgonovo
Date:
Subject: finding the other statement causing a sharelock