Re:

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "John Lister" <john(dot)lister-ps(at)kickstone(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Cc: <john(dot)lister-ps(at)kickstone(dot)co(dot)uk>
Subject: Re:
Date: 2009-12-03 17:31:31
Message-ID: 4B17A193020000250002D04E@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"John Lister" <john(dot)lister-ps(at)kickstone(dot)com> wrote:

> I'm using 8.3.8

That's recent. :-) If you have index bloat you either have some
process has held open a database transaction for a very long time
while the table underwent updates or deletes, or your vacuum policy
is not aggressive enough.

> my indexes seem to grow disproportionately to the size of the
> tables, but I haven't studied it in detail yet - I was trying to
> increase performance on a number of tables that seem to be
> extremely bloated for some reason.

Well, if they're already extremely bloated, you may need to use
CLUSTER or some other technique to recover; but it is important to
understand how you got into that state so you can avoid doing it
again.

By the way, how are you measuring bloat, and how extreme is it?

-Kevin

In response to

  • at 2009-12-03 11:03:54 from John Lister

Responses

  • Re: at 2009-12-03 17:41:22 from John Lister

Browse pgsql-admin by date

  From Date Subject
Next Message John Lister 2009-12-03 17:41:22 Re:
Previous Message John Lister 2009-12-03 11:03:54