pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Y Sidhu <ysidhu@gmail.com>
To: Ben <bench@silentmedia.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: max_fsm_pages, shared_buffers and checkpoint_segments
Date: Wed, 23 May 2007 09:43:36 -0700
Message-ID: <b09064f30705230943r4f631687ub67b7a4929043e82@mail.gmail.com> (raw)
In-Reply-To: <82B28692-EF16-48F5-A40D-C4563D610B56@silentmedia.com>
References: <b09064f30705230922j35a69ea4ie5ff38d63d199065@mail.gmail.com>
	<82B28692-EF16-48F5-A40D-C4563D610B56@silentmedia.com>

I cannot answer that question on the grounds that it may incriminate me.
Hehe. I am really trying to get our vacuum times down. The cause of the
problem, I believe, are daily mass deletes. Yes, I am working on performing
vacuums more than once a day. No, I am not considering partitioning the
offending table because a few scripts have to be changed. I am also turning
the knobs as I find them.

Any help is appreciated b'cause "I can't hold er t'gether much longer
kap'n." Sorry, that's the best 'Scotty' I can do this morning.

Yudhvir
=============

On 5/23/07, Ben <bench@silentmedia.com> wrote:
>
> Do you have an overall plan (besides "make it go faster!") or are you
> just trying out the knobs as you find them?
>
> This may be helpful:
> http://www.powerpostgresql.com/Downloads/annotated_conf_80.html
>
> On May 23, 2007, at 9:22 AM, Y Sidhu wrote:
>
> > I am a newbie, as you all know, but I am still embarassed asking
> > this question. I started my tuning career by changing
> > shared_buffers. Soon I discovered that I was hitting up against the
> > available RAM on the system. So, I brought the number down. Then I
> > discovered max_fsm_pages. I could take that up quite high and found
> > out that it is a 'disk' thing. Then I started increasing
> > checkpoint_segments,which is also a disk thing. However, setting it
> > to 25, and then increasing any of the other 2 variables, the
> > postgresql daemon stops working. meaning it does not start upon
> > reboot. When I bring shared_buffers or max_fsm_pages back down, the
> > daemon starts and all is normal. This happens on a 1 GB RAM machine
> > and a 4 GB RAM machine.
> >
> > Anyone know what I am doing wrong?
> >
> > System:  FreeBSD 6.1, Postgresql 8.09, 2 GB RAM
> >
> > --
> > Yudhvir Singh Sidhu
> > 408 375 3134 cell
>
>


-- 
Yudhvir Singh Sidhu
408 375 3134 cell

view thread (8+ messages)  latest in thread

Message-ID: <b09064f30705230943r4f631687ub67b7a4929043e82@mail.gmail.com>
Permalink:  ../b09064f30705230943r4f631687ub67b7a4929043e82@mail.gmail.com/
Also on:    postgresql.org/message-id/b09064f30705230943r4f631687ub67b7a4929043e82@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: ysidhu@gmail.com, bench@silentmedia.com
  Subject: Re: max_fsm_pages, shared_buffers and checkpoint_segments
  In-Reply-To: <b09064f30705230943r4f631687ub67b7a4929043e82@mail.gmail.com>
  References: <b09064f30705230922j35a69ea4ie5ff38d63d199065@mail.gmail.com> <82B28692-EF16-48F5-A40D-C4563D610B56@silentmedia.com> <b09064f30705230943r4f631687ub67b7a4929043e82@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