Re: Full Vacuum/Reindex vs autovacuum

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: jason(at)octgsoftware(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Full Vacuum/Reindex vs autovacuum
Date: 2010-11-08 21:58:34
Message-ID: AANLkTi=7ZGLB+bSj_rAWyzkQnU3=8KZsftnXb8C54gZa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 8, 2010 at 11:50 AM, Jason Long <jason(at)octgsoftware(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2010-11-08 22:00:42 Re: Removing pgsql_tmp files
Previous Message Jason Long 2010-11-08 21:54:11 Re: Full Vacuum/Reindex vs autovacuum