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

From Scott Marlowe
Subject Re: Full Vacuum/Reindex vs autovacuum
Date
Msg-id AANLkTi=7ZGLB+bSj_rAWyzkQnU3=8KZsftnXb8C54gZa@mail.gmail.com
Whole thread Raw
In response to Full Vacuum/Reindex vs autovacuum  (Jason Long <jason@octgsoftware.com>)
Responses Re: Full Vacuum/Reindex vs autovacuum  (Jason Long <jason@octgsoftware.com>)
List pgsql-general
On Mon, Nov 8, 2010 at 11:50 AM, Jason Long <jason@octgsoftware.com> 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,

One question, why?

> and then dump a nightly backup.

Good idea.

> Is this optimal with regards to performance?  autovacuum is set to the
> default.

that depends very much on your answer to the question of why are you
doing it and what you're trying to gain / work around with vacuum full
/ reindex every night.

pgsql-general by date:

Previous
From: Ivan Sergio Borgonovo
Date:
Subject: Re: finding the other statement causing a sharelock
Next
From: Jason Long
Date:
Subject: Re: Full Vacuum/Reindex vs autovacuum