pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tory M Blue <tmblue@gmail.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-performance@postgresql.org
Subject: Re: Index bloat, reindex weekly, suggestions etc?
Date: Fri, 17 Oct 2008 10:48:07 -0700
Message-ID: <8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.com> (raw)
In-Reply-To: <48F88694.EE98.0025.0@wicourts.gov>
References: <8a547c840810170905m7323dbd8x90de7dd004abc7d4@mail.gmail.com>
	<48F8773F.EE98.0025.0@wicourts.gov>
	<8a547c840810170947p52075b0cmadc8c2060b38cfa4@mail.gmail.com>
	<48F88694.EE98.0025.0@wicourts.gov>

On Fri, Oct 17, 2008 at 10:35 AM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
> As already pointed out, that's a lot of free space.  You don't use
> VACUUM FULL on this database, do you?  That would keep the data
> relatively tight but seriously bloat indexes, which is consistent with
> your symptoms.  VACUUM FULL should not be used routinely, it is
> basically for recovery from serious heap bloat when you don't have
> space for another copy of the data, and it should usually be followed
> by a REINDEX to clean up the index bloat it causes.


Interesting, I do run:

 "# vacuum and analyze each db before dumping
psql $DB -c 'vacuum analyze verbose'""


every night before I dump, is that causing some issues that I'm not aware of?

Tory



view thread (10+ messages)  latest in thread

Message-ID: <8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.com>
Permalink:  ../8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.com/
Also on:    postgresql.org/message-id/8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.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-performance@postgresql.org
  Cc: tmblue@gmail.com, Kevin.Grittner@wicourts.gov
  Subject: Re: Index bloat, reindex weekly, suggestions etc?
  In-Reply-To: <8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.com>
  References: <8a547c840810170905m7323dbd8x90de7dd004abc7d4@mail.gmail.com> <48F8773F.EE98.0025.0@wicourts.gov> <8a547c840810170947p52075b0cmadc8c2060b38cfa4@mail.gmail.com> <48F88694.EE98.0025.0@wicourts.gov> <8a547c840810171048y27f1447ci2f125f19f1e0c5e@mail.gmail.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