Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 5D3859FB1BB for ; Wed, 23 May 2007 13:43:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 06813-06 for ; Wed, 23 May 2007 13:43:38 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by postgresql.org (Postfix) with ESMTP id 4CF3A9FA6B5 for ; Wed, 23 May 2007 13:43:38 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so65833ana for ; Wed, 23 May 2007 09:43:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jI90SOeWJFRNk08VWc+1T4Wz93GKlwhqk77j2UoCxk1UVthV6gS2E47Pm5f1Pt7rxQR7EwPIuOgvTK2y473DkueTh2iFrMyFhbjLXhECtR0OohJC2fDt9sTrMFH3OZt923SsZ6sgs9oRIEOehkjZfi+6Q6pIH5bcL1zEf1cRosY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qGl0FJhhLNTwPBSuRLMlu0xE94DSeisEDbQfwEovw7nxKh4yjw8lRj54k8yrZ2pMUKtW0abYzrmyv0iIN7A48BcccxUjeFZND6RTi0TZTAjJbYOXUHslQvmV+Oi8NLdOA4cEPJAXpmIKDiWtoEYgzOYW+mVoG/n9cvi/5dZm9Go= Received: by 10.100.216.3 with SMTP id o3mr675351ang.1179938616168; Wed, 23 May 2007 09:43:36 -0700 (PDT) Received: by 10.100.143.13 with HTTP; Wed, 23 May 2007 09:43:36 -0700 (PDT) Message-ID: Date: Wed, 23 May 2007 09:43:36 -0700 From: "Y Sidhu" To: Ben Subject: Re: max_fsm_pages, shared_buffers and checkpoint_segments Cc: pgsql-performance@postgresql.org In-Reply-To: <82B28692-EF16-48F5-A40D-C4563D610B56@silentmedia.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_58675_32615018.1179938616097" References: <82B28692-EF16-48F5-A40D-C4563D610B56@silentmedia.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/461 X-Sequence-Number: 24851 ------=_Part_58675_32615018.1179938616097 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 ------=_Part_58675_32615018.1179938616097 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_58675_32615018.1179938616097--