Re: automatic REINDEX-ing

From: Kevin Hunter <hunteke(at)earlham(dot)edu>
To: Joao Ferreira <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgres General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: automatic REINDEX-ing
Date: 2008-08-13 16:41:41
Message-ID: 48A30EC5.5050901@earlham.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 12:04p -0400 on Tue, 12 Aug 2008, Joao Ferreira wrote:
> I'm a bit lost here. I'm currently executing VACUUM FULL _and_ REINDEX
> (tbls & idxs) every week.
>
> Should I keep the REINDEX and drop VACUUM FULL ?
>
> How do I iterate to a better approach ?

It might behoove you to read the Notes section of the docs about vacuuming:

http://www.postgresql.org/docs/current/static/sql-vacuum.html

Roughly, VACUUM simply reclaims/frees disk space, while VACUUM FULL
additionally reorganizes disk usage. I'm still don't know *why* this
leads to index bloat, however, just that it does. I must defer that
explication to a Postgres guru.

Kevin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Ross 2008-08-13 16:47:17 Column alias in where clause?
Previous Message Alvaro Herrera 2008-08-13 16:10:35 Re: text .vs. varchar