pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Boes <jboes@qtm.net>
To: pgsql-admin@postgresql.org
Subject: Re: Disk Utilization Increases And Time for Vacuum Increases.
Date: Mon, 25 Aug 2003 02:16:32 GMT
Message-ID: <7da139a7e0dc3c55c41424237fcb737a@news.teranews.com> (raw)
References: <20030822190900.57481.qmail@web10010.mail.yahoo.com>

>One action we have consiously not done is "REINDEX" on the
>table. We want to avoid that as far as possible.

Why? It's usually a very painless step, unless the table has millions and
millions of rows. We reindex tables with multiple indexes and several million
rows on a weekly basis. The only downside is that the table seems to be quite
"busy" during the process, which only takes a few minutes.

AFAIK, VACUUM doesn't reclaim space taken up by indexes. In fact, the more
deletes you do, the larger the index space gets, and the *slower* the index
performs. A periodic REINDEX cleans up a lot of problems.




view thread (13+ messages)  latest in thread

Message-ID: <7da139a7e0dc3c55c41424237fcb737a@news.teranews.com>
Permalink:  ../7da139a7e0dc3c55c41424237fcb737a@news.teranews.com/
Also on:    postgresql.org/message-id/7da139a7e0dc3c55c41424237fcb737a@news.teranews.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jboes@qtm.net
  Subject: Re: Disk Utilization Increases And Time for Vacuum Increases.
  In-Reply-To: <7da139a7e0dc3c55c41424237fcb737a@news.teranews.com>
  References: <20030822190900.57481.qmail@web10010.mail.yahoo.com> <7da139a7e0dc3c55c41424237fcb737a@news.teranews.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox