pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@sermonaudio.com>
To: Ron St-Pierre <rstpierre@syscor.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Help with performance problems
Date: Fri, 23 Apr 2004 15:27:24 -0400
Message-ID: <200404231527.24230.revoohc@sermonaudio.com> (raw)
In-Reply-To: <40896713.2010703@syscor.com>
References: <200404230931.17850.revoohc@sermonaudio.com>
	<200404231115.23198.josh@agliodbs.com>
	<40896713.2010703@syscor.com>

On Friday 23 April 2004 14:57, Ron St-Pierre wrote:
Does this apply to 7.3.4 also?
>  Actually, since he's running 7.4, there's an even better way.  Do a
>  "VACUUM VERBOSE" (full-database vacuum --- doesn't matter whether you
>  ANALYZE or not).  At the end of the very voluminous output, you'll see
>  something like
>
>
>  INFO:  free space map: 240 relations, 490 pages stored; 4080 total pages
> needed DETAIL:  Allocated FSM size: 1000 relations + 20000 pages = 178 kB
> shared memory.
>
>
>  Here, I would need max_fsm_relations = 240 and max_fsm_pages = 4080 to
>  exactly cover the present freespace needs of my system.  I concur with
>  the suggestion to bump that up a good deal, of course, but that gives
>  you a real number to start from.
>
>
>  The DETAIL part of the message shows my current settings (which are the
>  defaults) and what the FSM is costing me in shared memory space.
>
> Good luck
> Ron
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings




view thread (14+ messages)  latest in thread

Message-ID: <200404231527.24230.revoohc@sermonaudio.com>
Permalink:  ../200404231527.24230.revoohc@sermonaudio.com/
Also on:    postgresql.org/message-id/200404231527.24230.revoohc@sermonaudio.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: revoohc@sermonaudio.com, rstpierre@syscor.com
  Subject: Re: Help with performance problems
  In-Reply-To: <200404231527.24230.revoohc@sermonaudio.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