Re: Index bloat, reindex weekly, suggestions etc?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Tory M Blue" <tmblue(at)gmail(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Index bloat, reindex weekly, suggestions etc?
Date: 2008-10-17 16:30:07
Message-ID: 48F8773F.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

>>> "Tory M Blue" <tmblue(at)gmail(dot)com> wrote:

> tell me if i should plan upgrades to 8.3.4..

It's a good idea. It should be painless -- drop in and restart.

> After Reindex
> My Indexes
> 1.5G /data/clsindex
>
> After 2 weeks
> My indexes
> 6.8G /data/clsindex
>
> This is 2 weeks. and throughout those 2 weeks I can see performance
> degrading. In fact I just bumped the memory footprint of my server
to
> 32gigs from 8gigs

Make sure that effective_cache_size reflects this.

> This is a transactional DB with over 800K updates happening each
day.
> tons of updates and deletes. autovac is on and I do a analyze each
> night after the dump

Make sure that you run as VACUUM ANALYZE VERBOSE and look at the last
few lines; you might need to increase your free space manager
allocations.

-Kevin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tory M Blue 2008-10-17 16:47:49 Re: Index bloat, reindex weekly, suggestions etc?
Previous Message Lincoln Yeoh 2008-10-17 16:12:02 Re: Drupal and PostgreSQL - performance issues?