pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Wiles <frank@wiles.org>
To: Pallav Kalva <pkalva@deg.cc>
Cc: pgsql-performance@postgresql.org
Subject: Re: Poor Performance on a table
Date: Thu, 2 Dec 2004 13:38:09 -0600
Message-ID: <20041202133809.20af3079.frank@wiles.org> (raw)
In-Reply-To: <41AF6DE5.8020301@deg.cc>
References: <41AF68F2.1050206@deg.cc>
	<20041202132014.27456058.frank@wiles.org>
	<41AF6DE5.8020301@deg.cc>

On Thu, 02 Dec 2004 14:32:53 -0500
Pallav Kalva <pkalva@deg.cc> wrote:

> Hi Frank,
> 
>     Thanks! for the quick reply, here are my current default fsm
>     setting .
>  max_fsm_pages   = 20000 and  max_fsm_relations  =  1000
>    What are the appropriates settings for these parameters ? are there
>    
> any guidlines ? postgres docs doesnt give much information on setting 
> these values.

  There really aren't any guidelines on these because it really depends
  on your data and how you use the database.  If you insert/update 99%
  of the time and only delete 1% of the time, the defaults are probably
  perfect for you.  Probably up to a 80% insert/update, 20% delete
  ratio.

  If however you're constantly deleting entries from your database, I
  would suggest slowly raising those values in step with each other 
  over the course a few weeks and see where you're at. It is really
  a matter of trial an error. 

  With my databases, I can afford to do VACUUM FULLs fairly often
  so I typically don't need to increase my fsm values. 

 ---------------------------------
   Frank Wiles <frank@wiles.org>
   http://www.wiles.org
 ---------------------------------




view thread (8+ messages)  latest in thread

Message-ID: <20041202133809.20af3079.frank@wiles.org>
Permalink:  ../20041202133809.20af3079.frank@wiles.org/
Also on:    postgresql.org/message-id/20041202133809.20af3079.frank@wiles.org

 · 

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: frank@wiles.org, pkalva@deg.cc
  Subject: Re: Poor Performance on a table
  In-Reply-To: <20041202133809.20af3079.frank@wiles.org>

* 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