pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tory M Blue <tmblue@gmail.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: 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:15:12 -0700
Message-ID: <8a547c840810171015x7b330cc0h23f5afa7fc9d3ff5@mail.gmail.com> (raw)
In-Reply-To: <dcc563d10810171002j6e5491d4nb46e5dca8159698c@mail.gmail.com>
References: <8a547c840810170905m7323dbd8x90de7dd004abc7d4@mail.gmail.com>
	<48F8773F.EE98.0025.0@wicourts.gov>
	<8a547c840810170947p52075b0cmadc8c2060b38cfa4@mail.gmail.com>
	<dcc563d10810171002j6e5491d4nb46e5dca8159698c@mail.gmail.com>

On Fri, Oct 17, 2008 at 10:02 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Fri, Oct 17, 2008 at 10:47 AM, Tory M Blue <tmblue@gmail.com> wrote:
>> DETAIL:  A total of 501440 page slots are in use (including overhead).
>> 501440 page slots are required to track all free space.
>> Current limits are:  1087500 page slots, 430 relations, using 6401 kB.
>> VACUUM
>>
>> that looks fine
>
> That's still a lot of dead space.  You might do better with more
> aggresive autovacuuming settings.


Hmmm, autovac is on by default and it appears I've left most of the
default settings in play, but since I don't get any fsm warnings,
things seem to be running cleanly.

autovacuum_max_workers = 5              # max number of autovacuum subprocesses

autovacuum_vacuum_threshold = 1000      # min number of row updates before
                                        # vacuum
autovacuum_analyze_threshold = 2000     # min number of row updates before
                                        # analyze

in fact there is a vac running right now :)

Thanks Scott!

Tory



view thread (10+ messages)  latest in thread

Message-ID: <8a547c840810171015x7b330cc0h23f5afa7fc9d3ff5@mail.gmail.com>
Permalink:  ../8a547c840810171015x7b330cc0h23f5afa7fc9d3ff5@mail.gmail.com/
Also on:    postgresql.org/message-id/8a547c840810171015x7b330cc0h23f5afa7fc9d3ff5@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tmblue@gmail.com, scott.marlowe@gmail.com, Kevin.Grittner@wicourts.gov
  Subject: Re: Index bloat, reindex weekly, suggestions etc?
  In-Reply-To: <8a547c840810171015x7b330cc0h23f5afa7fc9d3ff5@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